{"_id":"bind-decorator","_rev":"229385","name":"bind-decorator","description":"The fastest automatic method.bind(this) decorator","dist-tags":{"latest":"1.0.11"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"time":{"modified":"2021-06-03T15:44:57.000Z","created":"2016-09-07T11:06:36.331Z","1.0.11":"2017-07-20T07:29:24.136Z","1.0.10":"2016-10-19T12:30:00.077Z","1.0.9":"2016-10-19T12:22:41.344Z","1.0.8":"2016-10-18T21:19:54.527Z","1.0.7":"2016-09-20T18:19:12.129Z","1.0.6":"2016-09-13T13:51:55.405Z","1.0.5":"2016-09-12T09:03:30.455Z","1.0.4":"2016-09-12T08:35:42.736Z","1.0.3":"2016-09-08T15:28:08.690Z","1.0.2":"2016-09-08T06:40:17.283Z","1.0.1":"2016-09-07T22:45:55.587Z","1.0.0":"2016-09-07T22:43:01.148Z","0.0.1-pre":"2016-09-07T11:06:36.331Z"},"users":{"oleg_tsyba":true},"author":{"name":"Ivo Stratev"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"versions":{"1.0.11":{"name":"bind-decorator","version":"1.0.11","description":"The fastest automatic method.bind(this) decorator","main":"index.js","typings":"index.d.ts","scripts":{"test":"tsc -p __tests__ && jest --verbose","jest-cov":"tsc --sourceMap -p __tests__ && jest --verbose --coverage --collectCoverageFrom src/index.js","map-cov":"remap-istanbul -i ./coverage/coverage-final.json -t lcovonly -o ./lcov.info","report-cov":"codeclimate-test-reporter < ./lcov.info","coverage":"npm run jest-cov && npm run map-cov && npm run report-cov","npm":"npm run clean && tsc -d -p . && mv ./src/index.js . && mv ./src/index.d.ts .","clean":"rm -f ./src/index.js* ./__tests__/*.d.ts ./__tests__/*.js ./lcov.info  && rm -f -R ./coverage"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"codeclimate-test-reporter":"^0.5.0","jest":"^20.0.4","remap-istanbul":"^0.9.5","typescript":"^2.4.2","@types/jest":"^20.0.4"},"gitHead":"8e2176882e34b705a4a61c22d03f4a913cbc9229","_id":"bind-decorator@1.0.11","_shasum":"e41bc06a1f65dd9cec476c91c5daf3978488252f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"e41bc06a1f65dd9cec476c91c5daf3978488252f","size":2954,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.11.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bind-decorator-1.0.11.tgz_1500535763181_0.09077968122437596"},"directories":{},"publish_time":1500535764136,"_hasShrinkwrap":false,"_cnpm_publish_time":1500535764136},"1.0.10":{"name":"bind-decorator","version":"1.0.10","description":"The fastest automatic method.bind(this) decorator","main":"index.js","typings":"index.d.ts","scripts":{"test":"tsc -p __tests__ && jest --verbose","jest-cov":"tsc --sourceMap -p __tests__ && jest --verbose --coverage --collectCoverageFrom src/index.js","map-cov":"remap-istanbul -i ./coverage/coverage-final.json -t lcovonly -o ./lcov.info","report-cov":"codeclimate-test-reporter < ./lcov.info","coverage":"npm run jest-cov && npm run map-cov && npm run report-cov","npm":"npm run clean && tsc -d -p . && mv ./src/index.js . && mv ./src/index.d.ts .","clean":"rm -f ./src/index.js* ./__tests__/*.d.ts ./__tests__/*.js ./lcov.info  && rm -f -R ./coverage"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"codeclimate-test-reporter":"^0.4.0","jest":"^16.0.0","remap-istanbul":"^0.7.0","typescript":"^2.0.3","@types/jest":"^15.1.32"},"gitHead":"0be79c59bd008c493200ae2ededafdfad6fa65b5","_id":"bind-decorator@1.0.10","_shasum":"16b52bab374447585f1ed44a2d0fe8d336bd1a6e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"16b52bab374447585f1ed44a2d0fe8d336bd1a6e","size":2959,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.10.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.10.tgz_1476880199508_0.18064120528288186"},"directories":{},"publish_time":1476880200077,"_cnpm_publish_time":1476880200077,"_hasShrinkwrap":false},"1.0.9":{"name":"bind-decorator","version":"1.0.9","description":"The fastest automatic method.bind(this) decorator","main":"index.js","typings":"index.d.ts","scripts":{"test":"tsc -p __tests__ && jest --verbose","jest-cov":"tsc --sourceMap -p __tests__ && jest --verbose --coverage --collectCoverageFrom src/index.js","map-cov":"remap-istanbul -i ./coverage/coverage-final.json -t lcovonly -o ./lcov.info","report-cov":"codeclimate-test-reporter < ./lcov.info","coverage":"npm run jest-cov && npm run map-cov && npm run report-cov","npm":"npm run clean && tsc -d -p . && mv ./src/index.js . && mv ./src/index.d.ts .","clean":"rm -f ./src/index.js* ./__tests__/*.d.ts ./__tests__/*.js ./lcov.info  && rm -f -R ./coverage"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"codeclimate-test-reporter":"^0.4.0","jest":"^16.0.0","remap-istanbul":"^0.7.0","typescript":"^2.0.3","@types/jest":"^15.1.32"},"gitHead":"4a8ac64edfc6175ba855bb59ddb0b2e018899eab","_id":"bind-decorator@1.0.9","_shasum":"e491301a09e66c4aefa9c2a8c160ca03b6b75297","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"e491301a09e66c4aefa9c2a8c160ca03b6b75297","size":2946,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.9.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.9.tgz_1476879759719_0.3828856854233891"},"directories":{},"publish_time":1476879761344,"_cnpm_publish_time":1476879761344,"_hasShrinkwrap":false},"1.0.8":{"name":"bind-decorator","version":"1.0.8","description":"The fastest automatic method.bind(this) decorator","main":"index.js","typings":"index.d.ts","scripts":{"test":"tsc -p __tests__ && jest --verbose","jest-cov":"tsc --sourceMap -p __tests__ && jest --verbose --coverage --collectCoverageFrom src/index.js","map-cov":"remap-istanbul -i ./coverage/coverage-final.json -t lcovonly -o ./lcov.info","report-cov":"codeclimate-test-reporter < ./lcov.info","coverage":"npm run jest-cov && npm run map-cov && npm run report-cov","npm":"npm run clean && tsc -d -p . && mv ./src/index.js . && mv ./src/index.d.ts .","clean":"rm -f ./src/index.js* ./__tests__/*.d.ts ./__tests__/*.js ./lcov.info  && rm -f -R ./coverage"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"codeclimate-test-reporter":"^0.4.0","jest":"^16.0.0","remap-istanbul":"^0.7.0","typescript":"^2.0.3","@types/jest":"^15.1.32"},"gitHead":"df6bcab372d598f17b6aae6936f23e24dbab22fe","_id":"bind-decorator@1.0.8","_shasum":"0bace553003a46eb81e7e5d4d30225fdd5bbbed7","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"0bace553003a46eb81e7e5d4d30225fdd5bbbed7","size":2870,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.8.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.8.tgz_1476825593948_0.8461069483309984"},"directories":{},"publish_time":1476825594527,"_cnpm_publish_time":1476825594527,"_hasShrinkwrap":false},"1.0.7":{"name":"bind-decorator","version":"1.0.7","description":"The fastest automatic method.bind(this) decorator","main":"index.js","typings":"index.d.ts","scripts":{"test":"tsc && jest --verbose","jest-cov":"tsc --sourceMap -p . && jest --verbose --coverage --collectCoverageFrom src/index.js","map-cov":"remap-istanbul -i ./coverage/coverage-final.json -t lcovonly -o ./lcov.info","report-cov":"codeclimate-test-reporter < ./lcov.info","coverage":"npm run jest-cov && npm run map-cov && npm run report-cov","typings":"typings install","npm":"npm run clean && tsc -d -p . && mv ./src/index.js . && mv ./src/index.d.ts .","clean":"rm -f ./src/index.js* ./__tests__/*.d.ts ./__tests__/*.js* ./lcov.info  && rm -f -R ./coverage"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"codeclimate-test-reporter":"^0.3.3","jest":"^15.1.1","remap-istanbul":"^0.6.4","typescript":"^1.8.10","typings":"^1.3.3"},"gitHead":"59f948835dbadfbcdefb60ed3d6f2bfafc14bdce","_id":"bind-decorator@1.0.7","_shasum":"903c09de32e0691d6662fc9650352739278a8a1c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"903c09de32e0691d6662fc9650352739278a8a1c","size":2831,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.7.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.7.tgz_1474395550324_0.5349507264327258"},"directories":{},"publish_time":1474395552129,"_cnpm_publish_time":1474395552129,"_hasShrinkwrap":false},"1.0.6":{"name":"bind-decorator","version":"1.0.6","description":"The fastest automatic method.bind(this) decorator","main":"index.js","typings":"index.d.ts","scripts":{"test":"tsc && jest --verbose","jest-cov":"tsc --sourceMap -p . && jest --verbose --coverage --collectCoverageFrom src/index.js","map-cov":"remap-istanbul -i ./coverage/coverage-final.json -t lcovonly -o ./lcov.info","report-cov":"codeclimate-test-reporter < ./lcov.info","coverage":"npm run jest-cov && npm run map-cov && npm run report-cov","typings":"typings install","npm":"npm run clean && tsc -d -p . && mv ./src/index.js . && mv ./src/index.d.ts .","clean":"rm -f ./src/index.js* ./__tests__/*.d.ts ./__tests__/*.js* ./lcov.info  && rm -f -R ./coverage"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"codeclimate-test-reporter":"^0.3.3","jest":"^15.1.1","remap-istanbul":"^0.6.4","typescript":"^1.8.10","typings":"^1.3.3"},"gitHead":"2c0ff376b00ef9a252932fc2aa7a88e2e4bd0851","_id":"bind-decorator@1.0.6","_shasum":"14cd8426d0b3889c1a99758f559ffb0ef671f5d9","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"14cd8426d0b3889c1a99758f559ffb0ef671f5d9","size":2827,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.6.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.6.tgz_1473774713706_0.7596607999876142"},"directories":{},"publish_time":1473774715405,"_cnpm_publish_time":1473774715405,"_hasShrinkwrap":false},"1.0.5":{"name":"bind-decorator","version":"1.0.5","description":"The fastest automatic method.bind(this) decorator","main":"index.js","typings":"index.d.ts","scripts":{"test":"tsc && jest --verbose","jest-cov":"jest --verbose --coverage --collectCoverageFrom src/index.js","map-cov":"remap-istanbul -i ./coverage/coverage-final.json -t lcovonly -o ./lcov.info","report-cov":"codeclimate-test-reporter < ./lcov.info","coverage":"npm run jest-cov && npm run map-cov && npm run report-cov","typings":"typings install","npm":"tsc -d -p . && mv ./src/index.js . && mv ./src/index.d.ts .","clean":"rm -f ./src/index.js* ./__tests__/*.d.ts ./__tests__/*.js* ./lcov.info  && rm -f -R ./coverage"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"codeclimate-test-reporter":"^0.3.3","jest":"^15.1.1","remap-istanbul":"^0.6.4","typescript":"^1.8.10","typings":"^1.3.3"},"gitHead":"23e3788b1d033482d5ad57a819e8bff5f73a132f","_id":"bind-decorator@1.0.5","_shasum":"1278d4675467b11fb51255646ec657ed8a8dde3e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"1278d4675467b11fb51255646ec657ed8a8dde3e","size":2840,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.5.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.5.tgz_1473671008637_0.2621851156000048"},"directories":{},"publish_time":1473671010455,"_cnpm_publish_time":1473671010455,"_hasShrinkwrap":false},"1.0.4":{"name":"bind-decorator","version":"1.0.4","description":"The fastest automatic method.bind(this) decorator","main":"index.js","typings":"index.d.ts","scripts":{"test":"tsc && jest --verbose","jest-cov":"jest --verbose --coverage --collectCoverageFrom src/index.js","map-cov":"remap-istanbul -i ./coverage/coverage-final.json -t lcovonly -o ./lcov.info","report-cov":"codeclimate-test-reporter < ./lcov.info","coverage":"npm run jest-cov && npm run map-cov && npm run report-cov","typings":"typings install","npm":"tsc -d -p . && mv ./src/index.js . && mv ./src/index.d.ts .","clean":"rm -f ./src/index.js* ./__tests__/*.d.ts ./__tests__/*.js* ./lcov.info  && rm -f -R ./coverage"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"codeclimate-test-reporter":"^0.3.3","jest":"^15.1.1","remap-istanbul":"^0.6.4","typescript":"^1.8.10","typings":"^1.3.3"},"gitHead":"82da88b366768d865e11925c189af7a3dd3efa7b","_id":"bind-decorator@1.0.4","_shasum":"08da98b57ef77b594c800e8a39ead38bb73c675c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"08da98b57ef77b594c800e8a39ead38bb73c675c","size":2909,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.4.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.4.tgz_1473669341044_0.20572845335118473"},"directories":{},"publish_time":1473669342736,"_cnpm_publish_time":1473669342736,"_hasShrinkwrap":false},"1.0.3":{"name":"bind-decorator","version":"1.0.3","description":"The fastest automatic method.bind(this) decorator","main":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"tsc -d -m commonjs  --moduleResolution node -t es5 --outDir ./dist ./src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"typescript":"^1.8.10"},"gitHead":"fa18df1996af7672666afec49520f3426c70a3b1","_id":"bind-decorator@1.0.3","_shasum":"f22865d1ce60f6ec41e4fb7a22ff5419795b885e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"f22865d1ce60f6ec41e4fb7a22ff5419795b885e","size":2456,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.3.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.3.tgz_1473348487141_0.6738066605757922"},"directories":{},"publish_time":1473348488690,"_cnpm_publish_time":1473348488690,"_hasShrinkwrap":false},"1.0.2":{"name":"bind-decorator","version":"1.0.2","description":"The fastest automatic method.bind(this) decorator","main":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"tsc -d -m commonjs  --moduleResolution node -t es5 --outDir ./dist ./src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"typescript":"^1.8.10"},"gitHead":"60e19c91846c25c49d7da6fce165734d4dba7660","_id":"bind-decorator@1.0.2","_shasum":"b848d8eb59b1e0f38f07610153962e5586b29c67","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"b848d8eb59b1e0f38f07610153962e5586b29c67","size":2638,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.2.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.2.tgz_1473316815751_0.3862907241564244"},"directories":{},"publish_time":1473316817283,"_cnpm_publish_time":1473316817283,"_hasShrinkwrap":false},"1.0.1":{"name":"bind-decorator","version":"1.0.1","description":"The fastest automatic method.bind(this) decorator","main":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"tsc -d -m commonjs  --moduleResolution node -t es5 --outDir ./dist ./src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"typescript":"^1.8.10"},"gitHead":"7ad303400232cb74399206f8b6eabfcf3a72e8b1","_id":"bind-decorator@1.0.1","_shasum":"5f36cd4360401de2c85ae762210df382bb6d36f4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"5f36cd4360401de2c85ae762210df382bb6d36f4","size":2832,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.1.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.1.tgz_1473288354346_0.8768807947635651"},"directories":{},"publish_time":1473288355587,"_cnpm_publish_time":1473288355587,"_hasShrinkwrap":false},"1.0.0":{"name":"bind-decorator","version":"1.0.0","description":"The fastest automatic method.bind(this) decorator","main":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"tsc -d -m commonjs  --moduleResolution node -t es5 --outDir ./dist ./src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"typescript":"^1.8.10"},"gitHead":"b0b3a4474534b174eea92e0a952a10890a7671cb","_id":"bind-decorator@1.0.0","_shasum":"490c2a5b049f2a9f63c4fa3ae518c35fa1d9f728","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"490c2a5b049f2a9f63c4fa3ae518c35fa1d9f728","size":2838,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-1.0.0.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bind-decorator-1.0.0.tgz_1473288179982_0.31031991145573556"},"directories":{},"publish_time":1473288181148,"_cnpm_publish_time":1473288181148,"_hasShrinkwrap":false},"0.0.1-pre":{"name":"bind-decorator","version":"0.0.1-pre","description":"The fastest automatic method.bind(this) decorator","main":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublish":"tsc -d -m commonjs  --moduleResolution node -t es5 --outDir ./dist ./src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/NoHomey/bind-decorator.git"},"keywords":["bind","autobind","methodbind","bind-decorator","autobind-decorator","decorator"],"author":{"name":"Ivo Stratev"},"license":"MIT","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"homepage":"https://github.com/NoHomey/bind-decorator#readme","devDependencies":{"typescript":"^1.8.10"},"gitHead":"79c60d8a78011c5db21335bea6d95fd38111d4a7","_id":"bind-decorator@0.0.1-pre","_shasum":"93580777bbd839dfd4634506c1a82e877c634993","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"},"dist":{"shasum":"93580777bbd839dfd4634506c1a82e877c634993","size":1573,"noattachment":false,"key":"/bind-decorator/-/bind-decorator-0.0.1-pre.tgz","tarball":"http://registry.cnpm.dingdandao.com/bind-decorator/download/bind-decorator-0.0.1-pre.tgz"},"maintainers":[{"name":"nohomey","email":"ivo.stratev.tues@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/bind-decorator-0.0.1-pre.tgz_1473246395264_0.25251427199691534"},"directories":{},"publish_time":1473246396331,"_cnpm_publish_time":1473246396331,"_hasShrinkwrap":false}},"readme":"# bind-decorator\n\nContext method binding decorator.\n\n[![npm version](https://badge.fury.io/js/bind-decorator.svg)](https://badge.fury.io/js/bind-decorator)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/NoHomey/bind-decorator)\n[![Build Status](https://semaphoreci.com/api/v1/nohomey/bind-decorator/branches/master/badge.svg)](https://semaphoreci.com/nohomey/bind-decorator)\n[![Code Climate](https://codeclimate.com/github/NoHomey/bind-decorator/badges/gpa.svg)](https://codeclimate.com/github/NoHomey/bind-decorator)\n[![Test Coverage](https://codeclimate.com/github/NoHomey/bind-decorator/badges/coverage.svg)](https://codeclimate.com/github/NoHomey/bind-decorator/coverage)\n[![Issue Count](https://codeclimate.com/github/NoHomey/bind-decorator/badges/issue_count.svg)](https://codeclimate.com/github/NoHomey/bind-decorator)\n![TypeScript](https://img.shields.io/badge/%3C%20%2F%3E-TypeScript-blue.svg)\n![Typings](https://img.shields.io/badge/typings-%E2%9C%93-brightgreen.svg)\n\n`@bind` is just a little faster version of [`@autobind`](https://github.com/andreypopp/autobind-decorator/blob/master/src/index.js) for decorating methods only, by binding them to the current context. It is written in TypeScript and follows the latest `decorator`s [proposal](http://tc39.github.io/proposal-decorators/).\n\n- It will `throw` exceptions if decorating anything other than `function`;\n- Since the implementation follows the latest `decorator`s [proposal](http://tc39.github.io/proposal-decorators/) where compartion betweeen `this` and `target` can not be trusted, `@bind` will always `return` a `configurable`, `get accessor propertyDescriptor` which will memomize the result of `descriptor.value.bind(this)` by re-defining the property descriptor of the method beeing decorated (Credits goes to [autobind-decorator](https://github.com/andreypopp/autobind-decorator/blob/master/src/index.js) for memoizing the result).\n\nIf you are looking for not just method decorator but rather full class bounding decorator check [`@autobind`](https://github.com/andreypopp/autobind-decorator/blob/master/src/index.js).\n\n# Install\n\nInstall with npm:\n\n```bash\n$ npm install bind-decorator\n```\n\n[![NPM](https://nodei.co/npm/bind-decorator.png?downloads=true&stars=true)](https://nodei.co/npm/bind-decorator/)\n\n# Usage\n\n## In JavaScript\n\n```javascript\nimport bind from 'bind-decorator';\n\nclass Test {\n    static what = 'static';\n    \n    @bind\n    static test() {\n        console.log(this.what);\n    }\n\n    constructor(what) {\n        this.what = what;\n    }\n\n    @bind\n    test() {\n        console.warn(this.what);\n    }\n}\n\nconst tester = new Test('bind');\nconst { test } = tester;\ntester.test(); // warns 'bind'.\ntest(); // warns 'bind'.\nTest.test(); // logs 'static'.\n```\n\n## In TypeScript\n\n```typescript\nimport bind from 'bind-decorator';\n\nclass Test {\n    public static what: string = 'static';\n    \n    @bind\n    public static test(): void {\n        console.log(this.what);\n    }\n\n    public constructor(public what: string) {\n        this.what = what;\n    }\n\n    @bind\n    public test(): void {\n        console.warn(this.what);\n    }\n}\n\nconst tester: Test = new Test('bind');\nconst { test } = tester;\ntester.test(); // warns 'bind'.\ntest(); // warns 'bind'.\nTest.test(); // logs 'static'.\n```\n\n# Testing\n\n1. `npm install`\n\n2. `npm test`\n\n# Contributing\n\n1. `npm install`\n\n2. Make changes\n\n3. If necessary add some tests to `__tests__`\n\n4. `npm test`\n\n5. Make a Pull Request","_attachments":{},"homepage":"https://github.com/NoHomey/bind-decorator#readme","bugs":{"url":"https://github.com/NoHomey/bind-decorator/issues"},"license":"MIT"}