rob@77
|
1 {
|
rob@77
|
2 "name": "jQuery",
|
rob@77
|
3 "description": "jQuery: The Write Less, Do More, JavaScript Library (packaged for Node.JS)",
|
rob@77
|
4 "version": "1.7.4",
|
rob@77
|
5 "url": "http://jquery.com",
|
rob@77
|
6 "homepage": "https://github.com/coolaj86/node-jquery",
|
rob@77
|
7 "author": {
|
rob@77
|
8 "name": "James Morrin",
|
rob@77
|
9 "email": "treasonx@gmail.com"
|
rob@77
|
10 },
|
rob@77
|
11 "repository": {
|
rob@77
|
12 "type": "git",
|
rob@77
|
13 "url": "git://github.com/coolaj86/node-jquery.git"
|
rob@77
|
14 },
|
rob@77
|
15 "bugs": {
|
rob@77
|
16 "url": "https://github.com/coolaj86/node-jquery/issues"
|
rob@77
|
17 },
|
rob@77
|
18 "licenses": [
|
rob@77
|
19 {
|
rob@77
|
20 "type": "MIT",
|
rob@77
|
21 "url": "https://github.com/coolaj86/node-jquery/blob/master/LICENSE-MIT"
|
rob@77
|
22 }
|
rob@77
|
23 ],
|
rob@77
|
24 "main": "lib/node-jquery",
|
rob@77
|
25 "engines": {
|
rob@77
|
26 "node": ">=0.6"
|
rob@77
|
27 },
|
rob@77
|
28 "scripts": {
|
rob@77
|
29 "test": "grunt test"
|
rob@77
|
30 },
|
rob@77
|
31 "__dependencies": {
|
rob@77
|
32 "jsdom": "~0.2.14",
|
rob@77
|
33 "htmlparser": "1.7.6",
|
rob@77
|
34 "xmlhttprequest": "~1.4.2",
|
rob@77
|
35 "location": "0.0.1",
|
rob@77
|
36 "navigator": "~1.0.1"
|
rob@77
|
37 },
|
rob@77
|
38 "__devDependencies": {
|
rob@77
|
39 "grunt": "~0.3.8",
|
rob@77
|
40 "nodeunit": "~0.7.4"
|
rob@77
|
41 },
|
rob@77
|
42 "keywords": [
|
rob@77
|
43 "util",
|
rob@77
|
44 "dom",
|
rob@77
|
45 "jquery"
|
rob@77
|
46 ],
|
rob@77
|
47 "readme": "node-jQuery\n====\n\nA stupid-simple wrapper over jQuery for Node.JS (server). Currently 1.7.2.\n\nNode.JS\n---\n\n npm install jQuery\n\n var $ = require('jQuery');\n\n\nExamples\n---\n\n $(\"<h1>test passes</h1>\").appendTo(\"body\");\n console.log($(\"body\").html());\n\nIn Node.JS you may also create separate window instances\n\n var jsdom = require('jsdom').jsdom\n , myWindow = jsdom().createWindow()\n , $ = require('jQuery')\n , jq = require('jQuery').create()\n , jQuery = require('jQuery').create(myWindow)\n ;\n\n $(\"<h1>test passes</h1>\").appendTo(\"body\");\n console.log($(\"body\").html());\n\n jq(\"<h2>other test passes</h2>\").appendTo(\"body\");\n console.log(jq(\"body\").html());\n\n jQuery(\"<h3>third test passes</h3>\").appendTo(\"body\");\n console.log(jQuery(\"body\").html());\n\nOutput:\n\n <h1>test passes</h1>\n <h2>other test passes</h2>\n <h3>third test passes</h3>\n\nJSONP Example\n----\n\n var $ = require('jQuery');\n\n $.getJSON('http://twitter.com/status/user_timeline/treason.json?count=10&callback=?',function(data) {\n console.log(data);\n });\n\n\n",
|
rob@77
|
48 "readmeFilename": "README.md",
|
rob@77
|
49 "_id": "jQuery@1.7.4",
|
rob@77
|
50 "dist": {
|
rob@77
|
51 "shasum": "33d9e431b320acc18de25e6c3a20670a254d1243"
|
rob@77
|
52 },
|
rob@77
|
53 "deprecated": "This is deprecated. Please use 'jquery' (all lowercase).",
|
rob@77
|
54 "_from": "jQuery@",
|
rob@77
|
55 "_resolved": "https://registry.npmjs.org/jQuery/-/jQuery-1.7.4.tgz"
|
rob@77
|
56 }
|