UNPKG

motion

Version:

motion - moving development forward

86 lines (85 loc) 4.03 kB
{ "_args": [ [ "methods@https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "methods@>=1.1.1 <1.2.0", "_id": "methods@1.1.2", "_inCache": true, "_location": "/methods", "_phantomChildren": {}, "_requested": { "name": "methods", "raw": "methods@https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "rawSpec": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "scope": null, "spec": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "type": "remote" }, "_requiredBy": [ "/express" ], "_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "_shasum": "5529a4d67654134edcc5266656835b0f851afcee", "_shrinkwrap": null, "_spec": "methods@https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "_where": "/Users/nw/flint/packages/flint", "browser": { "http": false }, "bugs": { "url": "https://github.com/jshttp/methods/issues" }, "contributors": [ { "name": "Douglas Christopher Wilson", "email": "doug@somethingdoug.com" }, { "name": "Jonathan Ong", "email": "me@jongleberry.com", "url": "http://jongleberry.com" }, { "name": "TJ Holowaychuk", "email": "tj@vision-media.ca", "url": "http://tjholowaychuk.com" } ], "dependencies": {}, "description": "HTTP methods that node supports", "devDependencies": { "istanbul": "0.4.1", "mocha": "1.21.5" }, "engines": { "node": ">= 0.6" }, "files": [ "HISTORY.md", "LICENSE", "index.js" ], "homepage": "https://github.com/jshttp/methods#readme", "keywords": [ "http", "methods" ], "license": "MIT", "name": "methods", "optionalDependencies": {}, "readme": "# Methods\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nHTTP verbs that Node.js core's HTTP parser supports.\n\nThis module provides an export that is just like `http.METHODS` from Node.js core,\nwith the following differences:\n\n * All method names are lower-cased.\n * Contains a fallback list of methods for Node.js versions that do not have a\n `http.METHODS` export (0.10 and lower).\n * Provides the fallback list when using tools like `browserify` without pulling\n in the `http` shim module.\n\n## Install\n\n```bash\n$ npm install methods\n```\n\n## API\n\n```js\nvar methods = require('methods')\n```\n\n### methods\n\nThis is an array of lower-cased method names that Node.js supports. If Node.js\nprovides the `http.METHODS` export, then this is the same array lower-cased,\notherwise it is a snapshot of the verbs from Node.js 0.10.\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/methods.svg?style=flat\n[npm-url]: https://npmjs.org/package/methods\n[node-version-image]: https://img.shields.io/node/v/methods.svg?style=flat\n[node-version-url]: https://nodejs.org/en/download/\n[travis-image]: https://img.shields.io/travis/jshttp/methods.svg?style=flat\n[travis-url]: https://travis-ci.org/jshttp/methods\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/methods.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/jshttp/methods?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/methods.svg?style=flat\n[downloads-url]: https://npmjs.org/package/methods\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jshttp/methods.git" }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" }, "version": "1.1.2" }