{"_id":"bind-obj-methods","_rev":"130074","name":"bind-obj-methods","description":"Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.","dist-tags":{"latest":"3.0.0","v2-legacy":"2.0.2"},"maintainers":[{"name":"isaacs","email":""}],"time":{"modified":"2021-06-03T11:09:10.000Z","created":"2017-01-19T00:27:26.358Z","2.0.2":"2021-03-25T21:35:35.571Z","3.0.0":"2021-03-25T20:02:10.485Z","2.0.1":"2021-02-26T18:39:17.314Z","2.0.0":"2017-07-08T05:58:45.793Z","1.0.0":"2017-01-19T00:27:26.358Z"},"users":{},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"repository":{"type":"git","url":"git+https://github.com/isaacs/bind-obj-methods.git"},"versions":{"2.0.2":{"name":"bind-obj-methods","version":"2.0.2","publishConfig":{"tag":"v2-legacy"},"description":"Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.","main":"bind-obj-methods.js","scripts":{"test":"tap test.js --100","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --all; git push origin --tags"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","keywords":[],"repository":{"type":"git","url":"git+https://github.com/isaacs/bind-obj-methods.git"},"bugs":{"url":"https://github.com/isaacs/bind-obj-methods/issues"},"homepage":"https://github.com/isaacs/bind-obj-methods#readme","devDependencies":{"tap":"^10.7.0"},"readmeFilename":"README.md","gitHead":"e089ef6eba38746c61776de7b7fb11639a327e2e","_id":"bind-obj-methods@2.0.2","_nodeVersion":"15.3.0","_npmVersion":"7.7.4","dist":{"shasum":"ea603b0f2455dce76d177c69747751b40c815897","size":1645,"noattachment":false,"key":"/bind-obj-methods/-/bind-obj-methods-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-obj-methods/download/bind-obj-methods-2.0.2.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bind-obj-methods_2.0.2_1616708135440_0.03354756551799909"},"_hasShrinkwrap":false,"publish_time":1616708135571,"_cnpm_publish_time":1616708135571},"3.0.0":{"name":"bind-obj-methods","version":"3.0.0","description":"Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.","main":"bind-obj-methods.js","scripts":{"test":"tap test.js --100","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --all; git push origin --tags"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","keywords":[],"repository":{"type":"git","url":"git+https://github.com/isaacs/bind-obj-methods.git"},"bugs":{"url":"https://github.com/isaacs/bind-obj-methods/issues"},"homepage":"https://github.com/isaacs/bind-obj-methods#readme","devDependencies":{"tap":"^15.0.0-2"},"engines":{"node":">=10"},"gitHead":"2fba1897d23f9b86e1354d63a709256b19a1387b","_id":"bind-obj-methods@3.0.0","_nodeVersion":"15.3.0","_npmVersion":"7.7.4","dist":{"shasum":"65b66544d9d668d80dfefe2089dd347ad1dbcaed","size":1697,"noattachment":false,"key":"/bind-obj-methods/-/bind-obj-methods-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-obj-methods/download/bind-obj-methods-3.0.0.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bind-obj-methods_3.0.0_1616702530303_0.8198489406953524"},"_hasShrinkwrap":false,"publish_time":1616702530485,"_cnpm_publish_time":1616702530485},"2.0.1":{"name":"bind-obj-methods","version":"2.0.1","description":"Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.","main":"bind-obj-methods.js","scripts":{"test":"tap test.js --100","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --all; git push origin --tags"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","keywords":[],"repository":{"type":"git","url":"git+https://github.com/isaacs/bind-obj-methods.git"},"bugs":{"url":"https://github.com/isaacs/bind-obj-methods/issues"},"homepage":"https://github.com/isaacs/bind-obj-methods#readme","devDependencies":{"tap":"^15.0.0-2"},"engines":{"node":">=10"},"gitHead":"50d51a64939655fbb9e339b8481296bcb46cb1af","_id":"bind-obj-methods@2.0.1","_nodeVersion":"15.3.0","_npmVersion":"7.5.6","dist":{"shasum":"1c1295d6741c07b78d15f42080fe4a60a27f91f5","size":1714,"noattachment":false,"key":"/bind-obj-methods/-/bind-obj-methods-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-obj-methods/download/bind-obj-methods-2.0.1.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"isaacs","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bind-obj-methods_2.0.1_1614364757188_0.9000076033558173"},"_hasShrinkwrap":false,"publish_time":1614364757314,"_cnpm_publish_time":1614364757314,"deprecated":"do not use this version, it is broken"},"2.0.0":{"name":"bind-obj-methods","version":"2.0.0","description":"Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.","main":"bind-obj-methods.js","scripts":{"test":"tap test.js --100","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --all; git push origin --tags"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","keywords":[],"repository":{"type":"git","url":"git+https://github.com/isaacs/bind-obj-methods.git"},"bugs":{"url":"https://github.com/isaacs/bind-obj-methods/issues"},"homepage":"https://github.com/isaacs/bind-obj-methods#readme","devDependencies":{"tap":"^10.7.0"},"files":[],"gitHead":"3929680324058aaef0968e8586da4b94a0d1a78b","_id":"bind-obj-methods@2.0.0","_npmVersion":"5.1.0","_nodeVersion":"8.0.0","_npmUser":{"name":"isaacs","email":"i@izs.me"},"dist":{"shasum":"0178140dbe7b7bb67dc74892ace59bc0247f06f0","size":1659,"noattachment":false,"key":"/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-obj-methods/download/bind-obj-methods-2.0.0.tgz"},"maintainers":[{"name":"isaacs","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bind-obj-methods-2.0.0.tgz_1499493525608_0.5441465254407376"},"directories":{},"publish_time":1499493525793,"_hasShrinkwrap":false,"_cnpm_publish_time":1499493525793},"1.0.0":{"name":"bind-obj-methods","version":"1.0.0","description":"Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.","main":"bind-obj-methods.js","scripts":{"test":"node test.js"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"},"license":"ISC","keywords":[],"repository":{"type":"git","url":"git+https://github.com/isaacs/bind-obj-methods.git"},"bugs":{"url":"https://github.com/isaacs/bind-obj-methods/issues"},"homepage":"https://github.com/isaacs/bind-obj-methods#readme","gitHead":"1472ee46d512e7b1f37affe0895b89eff52f6f45","_id":"bind-obj-methods@1.0.0","_shasum":"4f5979cac15793adf70e488161e463e209ca509c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"isaacs","email":"i@izs.me"},"dist":{"shasum":"4f5979cac15793adf70e488161e463e209ca509c","size":1876,"noattachment":false,"key":"/bind-obj-methods/-/bind-obj-methods-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-obj-methods/download/bind-obj-methods-1.0.0.tgz"},"maintainers":[{"name":"isaacs","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bind-obj-methods-1.0.0.tgz_1484785646117_0.6411420318763703"},"directories":{},"publish_time":1484785646358,"_cnpm_publish_time":1484785646358,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/isaacs/bind-obj-methods#readme","bugs":{"url":"https://github.com/isaacs/bind-obj-methods/issues"},"license":"ISC"}