{ "_args": [ [ { "raw": "trim@0.0.1", "scope": null, "escapedName": "trim", "name": "trim", "rawSpec": "0.0.1", "spec": "0.0.1", "type": "version" }, "/usr/local/lib/node_modules/video.js/node_modules/parse-headers" ] ], "_from": "trim@0.0.1", "_id": "trim@0.0.1", "_inCache": true, "_location": "/video.js/trim", "_npmUser": { "name": "tjholowaychuk", "email": "tj@vision-media.ca" }, "_npmVersion": "1.2.2", "_phantomChildren": {}, "_requested": { "raw": "trim@0.0.1", "scope": null, "escapedName": "trim", "name": "trim", "rawSpec": "0.0.1", "spec": "0.0.1", "type": "version" }, "_requiredBy": [ "/video.js/parse-headers" ], "_resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", "_shasum": "5858547f6b290757ee95cccc666fb50084c460dd", "_shrinkwrap": null, "_spec": "trim@0.0.1", "_where": "/usr/local/lib/node_modules/video.js/node_modules/parse-headers", "author": { "name": "TJ Holowaychuk", "email": "tj@vision-media.ca" }, "component": { "scripts": { "trim/index.js": "index.js" } }, "dependencies": {}, "description": "Trim string whitespace", "devDependencies": { "mocha": "*", "should": "*" }, "directories": {}, "dist": { "shasum": "5858547f6b290757ee95cccc666fb50084c460dd", "tarball": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz" }, "keywords": [ "string", "trim" ], "main": "index", "maintainers": [ { "name": "tjholowaychuk", "email": "tj@vision-media.ca" } ], "name": "trim", "optionalDependencies": {}, "readme": "\n# trim\n\n Trims string whitespace.\n\n## Installation\n\n```\n$ npm install trim\n$ component install component/trim\n```\n\n## API\n\n - [trim(str)](#trimstr)\n - [.left(str)](#leftstr)\n - [.right(str)](#rightstr)\n\n \n\n### trim(str)\nshould trim leading / trailing whitespace.\n\n```js\ntrim(' foo bar ').should.equal('foo bar');\ntrim('\\n\\n\\nfoo bar\\n\\r\\n\\n').should.equal('foo bar');\n```\n\n\n### .left(str)\nshould trim leading whitespace.\n\n```js\ntrim.left(' foo bar ').should.equal('foo bar ');\n```\n\n\n### .right(str)\nshould trim trailing whitespace.\n\n```js\ntrim.right(' foo bar ').should.equal(' foo bar');\n```\n\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2012 TJ Holowaychuk <tj@vision-media.ca>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "readmeFilename": "Readme.md", "version": "0.0.1" }