{"_id":"extendable","_rev":"972725","name":"extendable","description":"Extend constructors using backbone's .extend signature","dist-tags":{"latest":"0.1.0"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"time":{"modified":"2024-09-05T00:21:12.000Z","created":"2012-09-14T11:36:26.278Z","0.1.0":"2014-10-27T15:09:08.541Z","0.0.6":"2013-08-15T15:56:16.251Z","0.0.5":"2013-08-09T15:11:20.801Z","0.0.4":"2013-08-08T20:10:34.168Z","0.0.3":"2012-09-20T08:21:02.729Z","0.0.2":"2012-09-14T11:50:42.179Z","0.0.1":"2012-09-14T11:46:15.977Z","0.0.0":"2012-09-14T11:36:26.278Z"},"users":{},"author":{"name":"Arnout Kazemier"},"repository":{"type":"git","url":"git://github.com/3rd-Eden/extendable.git"},"versions":{"0.1.0":{"name":"extendable","version":"0.1.0","description":"Extend constructors using backbone's .extend signature","keywords":["backbone","underscore","lodash","extend","inherit","inherits"],"main":"index.js","scripts":{"test":"mocha --reporter spec --ui bdd test.js","watch":"mocha --watch --reporter spec --ui bdd test.js","coverage":"istanbul cover ./node_modules/.bin/_mocha -- --reporter spec --ui bdd test.js","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --ui bdd test.js"},"repository":{"type":"git","url":"git://github.com/3rd-Eden/extendable.git"},"author":{"name":"Arnout Kazemier"},"license":"MIT","devDependencies":{"assume":"0.0.x","istanbul":"0.3.x","mocha":"2.0.x","pre-commit":"0.0.x"},"gitHead":"7142fad5296f0bde0f0f4d334bd19373870633dd","bugs":{"url":"https://github.com/3rd-Eden/extendable/issues"},"homepage":"https://github.com/3rd-Eden/extendable","_id":"extendable@0.1.0","_shasum":"b77011cb01570e95e346122d0b0587175d704de7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"V1","email":"info@3rd-Eden.com"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"dist":{"shasum":"b77011cb01570e95e346122d0b0587175d704de7","tarball":"http://registry-npm.ywwl.com/extendable/download/extendable-0.1.0.tgz","integrity":"sha512-0gskW8XE7UfGnasjneR09gbRWtZIy3c/Na+m/IytG+aWoPqOKqXL3lbmdFabUTKiQILR/i091pmHbICxn8OomQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsOrXk/FfqxRdY31ySI0akhXHEB5jenK4ktkBuH5/t6AIhAMoBe1cGUqPaFGb9FL+dBtOqIwF1tqfzZIknV6GsphAX"}],"size":2585,"noattachment":false,"key":"/extendable/-/extendable-0.1.0.tgz"},"deprecated":"This project has been renamed to extendible. This project will not receive any updates anymore","directories":{},"publish_time":1414422548541,"_cnpm_publish_time":1414422548541},"0.0.6":{"name":"extendable","version":"0.0.6","description":"Extend constructors using backbone's .extend signature","keywords":["backbone","underscore","lodash","extend","inherit","inherits"],"main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/3rd-Eden/extendable.git"},"author":{"name":"Arnout Kazemier"},"license":"MIT","dependencies":{},"devDependencies":{},"bugs":{"url":"https://github.com/3rd-Eden/extendable/issues"},"_id":"extendable@0.0.6","dist":{"shasum":"b85c6a081630b2c9d83588239c20cb3be4776fe6","tarball":"http://registry-npm.ywwl.com/extendable/download/extendable-0.0.6.tgz","integrity":"sha512-/SXSHYjQdN0Ao4gjr3cGYBBDobYsGJp8i8+PIfJSD1yHKOw4/DwW1C5Ldo5Q+BMhj4ux8pfwRjinMInFU4jzcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGFrYCK2wuSJlkJtWORS0O+6N/+DkopCvXr4d4pAooFBAiEA90DHdnyV5zO1D3yLTa4FRUIkn+llDbbIA0/6Ugu7euo="}],"size":2046,"noattachment":false,"key":"/extendable/-/extendable-0.0.6.tgz"},"_from":".","_npmVersion":"1.3.4","_npmUser":{"name":"V1","email":"info@3rd-Eden.com"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"deprecated":"This project has been renamed to extendible. This project will not receive any updates anymore","directories":{},"publish_time":1376582176251,"_cnpm_publish_time":1376582176251},"0.0.5":{"name":"extendable","version":"0.0.5","description":"Extend constructors using backbone's .extend signature","keywords":["backbone","underscore","lodash","extend","inherit","inherits"],"main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/3rd-Eden/extendable.git"},"author":{"name":"Arnout Kazemier"},"license":"MIT","dependencies":{},"devDependencies":{},"bugs":{"url":"https://github.com/3rd-Eden/extendable/issues"},"_id":"extendable@0.0.5","dist":{"shasum":"95aceeb84a02eb527865f0839c0fb052e68b1635","tarball":"http://registry-npm.ywwl.com/extendable/download/extendable-0.0.5.tgz","integrity":"sha512-bJRxT6qXvZEcBSvJaPAPaqzvqpdiato0r1RlzT5snHd2/Zc1zODSMUcBkNNpQPUNPm/gNMHgV/sT8rE8zxnYyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAEzakA60UPcrTgiUsiegoY6CIzRnfuPwIhDyOIosAPuAiEA5us0DpHKGXXU745OADMmSoprUYM2od9sEHgLX1MckAc="}],"size":1893,"noattachment":false,"key":"/extendable/-/extendable-0.0.5.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"V1","email":"info@3rd-Eden.com"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"deprecated":"This project has been renamed to extendible. This project will not receive any updates anymore","directories":{},"publish_time":1376061080801,"_cnpm_publish_time":1376061080801},"0.0.4":{"name":"extendable","version":"0.0.4","description":"Extend constructors using backbone's .extend signature","keywords":["backbone","underscore","lodash","extend","inherit","inherits"],"main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/3rd-Eden/extendable.git"},"author":{"name":"Arnout Kazemier"},"license":"MIT","dependencies":{},"devDependencies":{},"bugs":{"url":"https://github.com/3rd-Eden/extendable/issues"},"_id":"extendable@0.0.4","dist":{"shasum":"020107ffc3728fa8bafb8e080295248de4b315a1","tarball":"http://registry-npm.ywwl.com/extendable/download/extendable-0.0.4.tgz","integrity":"sha512-iSJuldnWUMCjnvZBfdSV6WrY1OCrPlGWaBoJRiFMs4giNo6hVcZhIjdTFHe3PcyFUs6afigxJ2/OydEeaye8jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7aqDaRc7Gg7Nchlmhq/ic4YAxcY+IfwyTbMqFbz3XhAiEAx/q+JwnGkGTlPKJFUvjAgZmPIy56hnBaD3fdz+j3It0="}],"size":1742,"noattachment":false,"key":"/extendable/-/extendable-0.0.4.tgz"},"_from":".","_npmVersion":"1.3.4","_npmUser":{"name":"V1","email":"info@3rd-Eden.com"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"deprecated":"This project has been renamed to extendible. This project will not receive any updates anymore","directories":{},"publish_time":1375992634168,"_cnpm_publish_time":1375992634168},"0.0.3":{"name":"extendable","version":"0.0.3","description":"Extend constructors","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/3rd-Eden/extendable.git"},"author":{"name":"Arnout Kazemier"},"license":"MIT","dependencies":{"lodash":"0.7.x"},"_id":"extendable@0.0.3","dist":{"shasum":"42f757358ea8c230f820e96812a39fc9ddd8b5eb","tarball":"http://registry-npm.ywwl.com/extendable/download/extendable-0.0.3.tgz","integrity":"sha512-V4SATrhgbQpXs5Gq+mZPxyjNraYO/x5vVjY4MZ8MCzwWNqjdAvoD6oujNuRTRpJyTunIpGdRRwwxtNrykNJ8mA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPoMM7K4iq5f25BkswtzblqkuphhJhONLvofRicdFCNQIhANfvW13V+yHEGj0xHC5zMP7Fl+ehXF8xJKAhKIGeSZEj"}],"size":1541,"noattachment":false,"key":"/extendable/-/extendable-0.0.3.tgz"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"deprecated":"This project has been renamed to extendible. This project will not receive any updates anymore","directories":{},"publish_time":1348129262729,"_cnpm_publish_time":1348129262729},"0.0.2":{"name":"extendable","version":"0.0.2","description":"Extend constructors","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Arnout Kazemier"},"license":"MIT","dependencies":{"underscore":"1.3.x"},"_id":"extendable@0.0.2","dist":{"shasum":"f400a28f1cf69553a412dd84b758f6a4afe37fb3","tarball":"http://registry-npm.ywwl.com/extendable/download/extendable-0.0.2.tgz","integrity":"sha512-47NyVgIBH7/Z59J3JlYhpd/+mVzPx5foibvDNkYcF9xppieYqlUVi+bJh8+CyzCL8tAeaP3AZZw1e+2cLW7Sgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmrFH+C3p/yvc0BBLGxlOfHvNTZZzdYJYXZov85SZOKQIhAK+iXnBE4IfyVzbFRtUX7qEOVk5zBzCblo92j4TY/Lm9"}],"size":1584,"noattachment":false,"key":"/extendable/-/extendable-0.0.2.tgz"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"deprecated":"This project has been renamed to extendible. This project will not receive any updates anymore","directories":{},"publish_time":1347623442179,"_cnpm_publish_time":1347623442179},"0.0.1":{"name":"extendable","version":"0.0.1","description":"Extend constructors","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Arnout Kazemier"},"license":"MIT","_id":"extendable@0.0.1","dist":{"shasum":"3d3ee5767369694e258113533c6815500c448b28","tarball":"http://registry-npm.ywwl.com/extendable/download/extendable-0.0.1.tgz","integrity":"sha512-2PsSFdmmJO9SwDfFqxdmv2kJvXVyu5kghRLggCSrerjCu6rckj5TES5InbVfr5gorfOX9QHxcoviOSGyzTVTTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFOKUZCGmiSCLfAo76gf5QseVaWSs+qQl0nRO5ykGnRAIhAL8WJJH5feFMZ5iIiGn+/xSJBjjviqgIBfyVoN8HKS1N"}],"size":1462,"noattachment":false,"key":"/extendable/-/extendable-0.0.1.tgz"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"deprecated":"This project has been renamed to extendible. This project will not receive any updates anymore","directories":{},"publish_time":1347623175977,"_cnpm_publish_time":1347623175977},"0.0.0":{"name":"extendable","version":"0.0.0","description":"Extend constructors","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Arnout Kazemier"},"license":"MIT","_id":"extendable@0.0.0","dist":{"shasum":"2cafae4ee3339c7262d483f093cf0a7ffdfe439f","tarball":"http://registry-npm.ywwl.com/extendable/download/extendable-0.0.0.tgz","integrity":"sha512-qyes9OrbCa2RzbJFJbnt5OPH2HH/1LvcZGGtjvU9ujTd/DgAGOmFJ4JCexnAu2KlWijYh19++BFszK30B/51vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXu2Pwi5j5q/gLeDGpUaRB4TJwbfc4mJqUH7wBvG0VPAiEAtVx08uWnfm+TqtgOY7DKA3bwi/4Xy2pLNGza4SppaRw="}],"size":1104,"noattachment":false,"key":"/extendable/-/extendable-0.0.0.tgz"},"maintainers":[{"name":"V1","email":"info@3rd-Eden.com"}],"deprecated":"This project has been renamed to extendible. This project will not receive any updates anymore","directories":{},"publish_time":1347622586278,"_cnpm_publish_time":1347622586278}},"readme":"# Extend your JavaScript constructors in the same as you are used to in backbone.js\n\n[![Build Status](https://travis-ci.org/3rd-Eden/extendable.png)](https://travis-ci.org/3rd-Eden/extendable)\n\n```js\nvar extend = require('extendable')\n  , EventEmitter = require('events').EventEmitter;\n\nfunction Awesomeness() {\n  var self = this;\n\n  setTimeout(function () {\n    self.render(self.data);\n  }, 100);\n\n  EventEmitter.call(this);\n}\n\nAwesomeness.prototype = new EventEmitter;\nAwesomeness.prototype.constructor = Awesomeness;\n\nAwesomeness.prototype.data = 'bar';\nAwesomeness.prototype.render = function render() {\n  // does nothing\n};\n\nAwesomeness.extend = extend;\n```\n\nAnd you can now use it\n\n```js\nvar SuperAwesome = Awesomeness.extend({\n    data: 'trololol'\n\n  , render: function render(data) {\n      console.log(data);\n    }\n});\n\nnew SuperAwesome();\n// outputs \"trololo\" after 100 ms\n```\n\n### License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/3rd-Eden/extendable","bugs":{"url":"https://github.com/3rd-Eden/extendable/issues"},"license":"MIT"}