57 lines
2.5 KiB
JSON
Executable File
57 lines
2.5 KiB
JSON
Executable File
{
|
|
"name": "jQuery",
|
|
"description": "jQuery: The Write Less, Do More, JavaScript Library (packaged for Node.JS)",
|
|
"version": "1.7.4",
|
|
"url": "http://jquery.com",
|
|
"homepage": "https://github.com/coolaj86/node-jquery",
|
|
"author": {
|
|
"name": "James Morrin",
|
|
"email": "treasonx@gmail.com"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/coolaj86/node-jquery.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/coolaj86/node-jquery/issues"
|
|
},
|
|
"licenses": [
|
|
{
|
|
"type": "MIT",
|
|
"url": "https://github.com/coolaj86/node-jquery/blob/master/LICENSE-MIT"
|
|
}
|
|
],
|
|
"main": "lib/node-jquery",
|
|
"engines": {
|
|
"node": ">=0.6"
|
|
},
|
|
"scripts": {
|
|
"test": "grunt test"
|
|
},
|
|
"__dependencies": {
|
|
"jsdom": "~0.2.14",
|
|
"htmlparser": "1.7.6",
|
|
"xmlhttprequest": "~1.4.2",
|
|
"location": "0.0.1",
|
|
"navigator": "~1.0.1"
|
|
},
|
|
"__devDependencies": {
|
|
"grunt": "~0.3.8",
|
|
"nodeunit": "~0.7.4"
|
|
},
|
|
"keywords": [
|
|
"util",
|
|
"dom",
|
|
"jquery"
|
|
],
|
|
"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",
|
|
"readmeFilename": "README.md",
|
|
"_id": "jQuery@1.7.4",
|
|
"dist": {
|
|
"shasum": "33d9e431b320acc18de25e6c3a20670a254d1243"
|
|
},
|
|
"deprecated": "This is deprecated. Please use 'jquery' (all lowercase).",
|
|
"_from": "jQuery@",
|
|
"_resolved": "https://registry.npmjs.org/jQuery/-/jQuery-1.7.4.tgz"
|
|
}
|