| 1 |
{ |
| 2 |
"_id": "bind-obj-methods", |
| 3 |
"_rev": "2-b2a7340e1aef446fd8c778a1a3e6dec8", |
| 4 |
"name": "bind-obj-methods", |
| 5 |
"description": "Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "bind-obj-methods", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.", |
| 14 |
"main": "bind-obj-methods.js", |
| 15 |
"scripts": { |
| 16 |
"test": "node test.js" |
| 17 |
}, |
| 18 |
"author": { |
| 19 |
"name": "Isaac Z. Schlueter", |
| 20 |
"email": "[email protected]", |
| 21 |
"url": "http://blog.izs.me/" |
| 22 |
}, |
| 23 |
"license": "ISC", |
| 24 |
"keywords": [], |
| 25 |
"repository": { |
| 26 |
"type": "git", |
| 27 |
"url": "git+https://github.com/isaacs/bind-obj-methods.git" |
| 28 |
}, |
| 29 |
"bugs": { |
| 30 |
"url": "https://github.com/isaacs/bind-obj-methods/issues" |
| 31 |
}, |
| 32 |
"homepage": "https://github.com/isaacs/bind-obj-methods#readme", |
| 33 |
"gitHead": "1472ee46d512e7b1f37affe0895b89eff52f6f45", |
| 34 |
"_id": "[email protected]", |
| 35 |
"_shasum": "4f5979cac15793adf70e488161e463e209ca509c", |
| 36 |
"_from": ".", |
| 37 |
"_npmVersion": "3.10.10", |
| 38 |
"_nodeVersion": "6.9.4", |
| 39 |
"_npmUser": { |
| 40 |
"name": "isaacs", |
| 41 |
"email": "[email protected]" |
| 42 |
}, |
| 43 |
"dist": { |
| 44 |
"shasum": "4f5979cac15793adf70e488161e463e209ca509c", |
| 45 |
"tarball": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-1.0.0.tgz" |
| 46 |
}, |
| 47 |
"maintainers": [ |
| 48 |
{ |
| 49 |
"name": "isaacs", |
| 50 |
"email": "[email protected]" |
| 51 |
} |
| 52 |
], |
| 53 |
"_npmOperationalInternal": { |
| 54 |
"host": "packages-12-west.internal.npmjs.com", |
| 55 |
"tmp": "tmp/bind-obj-methods-1.0.0.tgz_1484785646117_0.6411420318763703" |
| 56 |
}, |
| 57 |
"directories": {} |
| 58 |
}, |
| 59 |
"2.0.0": { |
| 60 |
"name": "bind-obj-methods", |
| 61 |
"version": "2.0.0", |
| 62 |
"description": "Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.", |
| 63 |
"main": "bind-obj-methods.js", |
| 64 |
"scripts": { |
| 65 |
"test": "tap test.js --100", |
| 66 |
"preversion": "npm test", |
| 67 |
"postversion": "npm publish", |
| 68 |
"postpublish": "git push origin --all; git push origin --tags" |
| 69 |
}, |
| 70 |
"author": { |
| 71 |
"name": "Isaac Z. Schlueter", |
| 72 |
"email": "[email protected]", |
| 73 |
"url": "http://blog.izs.me/" |
| 74 |
}, |
| 75 |
"license": "ISC", |
| 76 |
"keywords": [], |
| 77 |
"repository": { |
| 78 |
"type": "git", |
| 79 |
"url": "git+https://github.com/isaacs/bind-obj-methods.git" |
| 80 |
}, |
| 81 |
"bugs": { |
| 82 |
"url": "https://github.com/isaacs/bind-obj-methods/issues" |
| 83 |
}, |
| 84 |
"homepage": "https://github.com/isaacs/bind-obj-methods#readme", |
| 85 |
"devDependencies": { |
| 86 |
"tap": "^10.7.0" |
| 87 |
}, |
| 88 |
"files": [], |
| 89 |
"gitHead": "3929680324058aaef0968e8586da4b94a0d1a78b", |
| 90 |
"_id": "[email protected]", |
| 91 |
"_npmVersion": "5.1.0", |
| 92 |
"_nodeVersion": "8.0.0", |
| 93 |
"_npmUser": { |
| 94 |
"name": "isaacs", |
| 95 |
"email": "[email protected]" |
| 96 |
}, |
| 97 |
"dist": { |
| 98 |
"integrity": "sha512-3/qRXczDi2Cdbz6jE+W3IflJOutRVica8frpBn14de1mBOkzDo+6tY33kNhvkw54Kn3PzRRD2VnGbGPcTAk4sw==", |
| 99 |
"shasum": "0178140dbe7b7bb67dc74892ace59bc0247f06f0", |
| 100 |
"tarball": "https://registry.npmjs.org/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz" |
| 101 |
}, |
| 102 |
"maintainers": [ |
| 103 |
{ |
| 104 |
"name": "isaacs", |
| 105 |
"email": "[email protected]" |
| 106 |
} |
| 107 |
], |
| 108 |
"_npmOperationalInternal": { |
| 109 |
"host": "s3://npm-registry-packages", |
| 110 |
"tmp": "tmp/bind-obj-methods-2.0.0.tgz_1499493525608_0.5441465254407376" |
| 111 |
}, |
| 112 |
"directories": {} |
| 113 |
} |
| 114 |
}, |
| 115 |
"readme": "# bind-obj-methods\n\nBind methods to an object from that object or some other source.\nOptionally specify a set of methods to skip over.\n\nAlso binds non-enumerable methods, retaining their\nnon-enumerable-ness.\n\n## API\n\n`bindObjMethods(obj, [source], [omit])`\n\nBind all the methods from source onto obj, skipping over anything in\nthe `omit` list. `omit` can be either an array or an object of\nboolean values. `source` defaults to `obj` if not specified.\n\n## USAGE\n\n```js\nvar bindObjMethods = require('bind-obj-methods')\n\nvar obj = {\n method: () => this.foo,\n foo: 'bar'\n}\n\nvar m = obj.method\nm() // undefined\n\nbindObjMethods(obj)\nm = obj.method\nm() // 'bar'\n```\n", |
| 116 |
"maintainers": [ |
| 117 |
{ |
| 118 |
"name": "isaacs", |
| 119 |
"email": "[email protected]" |
| 120 |
} |
| 121 |
], |
| 122 |
"time": { |
| 123 |
"modified": "2017-07-08T05:58:45.793Z", |
| 124 |
"created": "2017-01-19T00:27:26.358Z", |
| 125 |
"1.0.0": "2017-01-19T00:27:26.358Z", |
| 126 |
"2.0.0": "2017-07-08T05:58:45.793Z" |
| 127 |
}, |
| 128 |
"homepage": "https://github.com/isaacs/bind-obj-methods#readme", |
| 129 |
"keywords": [], |
| 130 |
"repository": { |
| 131 |
"type": "git", |
| 132 |
"url": "git+https://github.com/isaacs/bind-obj-methods.git" |
| 133 |
}, |
| 134 |
"author": { |
| 135 |
"name": "Isaac Z. Schlueter", |
| 136 |
"email": "[email protected]", |
| 137 |
"url": "http://blog.izs.me/" |
| 138 |
}, |
| 139 |
"bugs": { |
| 140 |
"url": "https://github.com/isaacs/bind-obj-methods/issues" |
| 141 |
}, |
| 142 |
"license": "ISC", |
| 143 |
"readmeFilename": "README.md", |
| 144 |
"_attachments": {} |
| 145 |
} |