{ "_args": [ [ { "raw": "argsarray@^0.0.1", "scope": null, "escapedName": "argsarray", "name": "argsarray", "rawSpec": "^0.0.1", "spec": ">=0.0.1 <0.0.2", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/websql" ] ], "_from": "argsarray@>=0.0.1 <0.0.2", "_id": "argsarray@0.0.1", "_inCache": true, "_location": "/argsarray", "_npmUser": { "name": "cwmma", "email": "calvin.metcalf@gmail.com" }, "_npmVersion": "1.4.3", "_phantomChildren": {}, "_requested": { "raw": "argsarray@^0.0.1", "scope": null, "escapedName": "argsarray", "name": "argsarray", "rawSpec": "^0.0.1", "spec": ">=0.0.1 <0.0.2", "type": "range" }, "_requiredBy": [ "/websql" ], "_resolved": "https://registry.npmjs.org/argsarray/-/argsarray-0.0.1.tgz", "_shasum": "6e7207b4ecdb39b0af88303fa5ae22bda8df61cb", "_shrinkwrap": null, "_spec": "argsarray@^0.0.1", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/websql", "author": { "name": "Calvin Metcalf" }, "bugs": { "url": "https://github.com/calvinmetcalf/argsarray/issues" }, "dependencies": {}, "description": "get arguments to a function as an array, withouth deoptimizing", "devDependencies": { "glob": "^3.2.9", "tap-spec": "^0.1.5", "tape": "^2.10.2" }, "directories": { "test": "test" }, "dist": { "shasum": "6e7207b4ecdb39b0af88303fa5ae22bda8df61cb", "tarball": "https://registry.npmjs.org/argsarray/-/argsarray-0.0.1.tgz" }, "homepage": "https://github.com/calvinmetcalf/argsarray", "keywords": [ "arguments", "args" ], "license": "WTFPL", "main": "index.js", "maintainers": [ { "name": "cwmma", "email": "calvin.metcalf@gmail.com" } ], "name": "argsarray", "optionalDependencies": {}, "readme": "args array [![Build Status](https://travis-ci.org/calvinmetcalf/argsarray.png)](https://travis-ci.org/calvinmetcalf/argsarray)\n===\n\n```bash\nnpm install argsarray\n```\n\nsimple library to treat function arguments as an array without leaking the arguments object ([which is bad](https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#3-managing-arguments)), based on something I wrote for [PouchDB](https://github.com/daleharvey/pouchdb).\n\nSimple wrap a function in this and the function will always be called with an array of the arguments it was called with.\n\n```js\nvar myFunc = argsarray(function myFunc(args) {\n console.log(args);\n});\n\nmyFunc(a, b, c);\n//[a, b, c];\n```\n\n#license\n\nwtfpl", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git://github.com/calvinmetcalf/argsarray.git" }, "scripts": { "test": "tape test/test.*.js | tspec" }, "version": "0.0.1" }