43 lines
3.0 KiB
JSON
Executable File
43 lines
3.0 KiB
JSON
Executable File
{
|
|
"name": "xmlhttprequest",
|
|
"description": "XMLHttpRequest for Node",
|
|
"version": "1.6.0",
|
|
"author": {
|
|
"name": "Dan DeFelippi",
|
|
"url": "http://driverdan.com"
|
|
},
|
|
"keywords": [
|
|
"xhr",
|
|
"ajax"
|
|
],
|
|
"licenses": [
|
|
{
|
|
"type": "MIT",
|
|
"url": "http://creativecommons.org/licenses/MIT/"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/driverdan/node-XMLHttpRequest.git"
|
|
},
|
|
"bugs": {
|
|
"url": "http://github.com/driverdan/node-XMLHttpRequest/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.4.0"
|
|
},
|
|
"directories": {
|
|
"lib": "./lib",
|
|
"example": "./example"
|
|
},
|
|
"main": "./lib/XMLHttpRequest.js",
|
|
"readme": "# node-XMLHttpRequest #\n\nnode-XMLHttpRequest is a wrapper for the built-in http client to emulate the\nbrowser XMLHttpRequest object.\n\nThis can be used with JS designed for browsers to improve reuse of code and\nallow the use of existing libraries.\n\nNote: This library currently conforms to [XMLHttpRequest 1](http://www.w3.org/TR/XMLHttpRequest/). Version 2.0 will target [XMLHttpRequest Level 2](http://www.w3.org/TR/XMLHttpRequest2/).\n\n## Usage ##\n\nHere's how to include the module in your project and use as the browser-based\nXHR object.\n\n\tvar XMLHttpRequest = require(\"xmlhttprequest\").XMLHttpRequest;\n\tvar xhr = new XMLHttpRequest();\n\nNote: use the lowercase string \"xmlhttprequest\" in your require(). On\ncase-sensitive systems (eg Linux) using uppercase letters won't work.\n\n## Versions ##\n\nPrior to 1.4.0 version numbers were arbitrary. From 1.4.0 on they conform to\nthe standard major.minor.bugfix. 1.x shouldn't necessarily be considered\nstable just because it's above 0.x.\n\nSince the XMLHttpRequest API is stable this library's API is stable as\nwell. Major version numbers indicate significant core code changes.\nMinor versions indicate minor core code changes or better conformity to\nthe W3C spec.\n\n## License ##\n\nMIT license. See LICENSE for full details.\n\n## Supports ##\n\n* Async and synchronous requests\n* GET, POST, PUT, and DELETE requests\n* All spec methods (open, send, abort, getRequestHeader,\n getAllRequestHeaders, event methods)\n* Requests to all domains\n\n## Known Issues / Missing Features ##\n\nFor a list of open issues or to report your own visit the [github issues\npage](https://github.com/driverdan/node-XMLHttpRequest/issues).\n\n* Local file access may have unexpected results for non-UTF8 files\n* Synchronous requests don't set headers properly\n* Synchronous requests freeze node while waiting for response (But that's what you want, right? Stick with async!).\n* Some events are missing, such as abort\n* getRequestHeader is case-sensitive\n* Cookies aren't persisted between requests\n* Missing XML support\n* Missing basic auth\n",
|
|
"readmeFilename": "README.md",
|
|
"_id": "xmlhttprequest@1.6.0",
|
|
"dist": {
|
|
"shasum": "5f50f9a23ae441e1dfe153b3b8d6d7561b8e2f07"
|
|
},
|
|
"_from": "xmlhttprequest@",
|
|
"_resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.6.0.tgz"
|
|
}
|