{"_id":"protoclass","_rev":"17-6da6fad64508da19e824128b45a6f1ba","name":"protoclass","description":"protoclass.js =============","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"protoclass","version":"0.0.1","description":"protoclass.js =============","main":"./lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/classdojo/protoclass.js.git"},"author":"","license":"BSD","gitHead":"b0ea547e3df4b671d29ee2f6d13a2f6855f4d56f","devDependencies":{"expect.js":"~0.2.0","mocha":"~1.13.0"},"_id":"protoclass@0.0.1","dist":{"shasum":"e8ede321b58afb3a228b864ea86a30f08cffa4b0","tarball":"https://registry.npmjs.org/protoclass/-/protoclass-0.0.1.tgz","integrity":"sha512-vumYxfoyfZIFfVLlONwhsEeQSikv4nSJGUcfNhXgi1E7AupciUI0Wnwy+SgliZTuo47Hq6EeS2jJPDBph4P5Cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDueZmjdIk1ZBgmUPPfHcX8Y8dSGpwi482mFDo/hyqAxwIhAPxt3twHfGPT3AZoHkgfpcVhKKwPth8P/IRn7yRx06lG"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.2":{"name":"protoclass","version":"0.0.2","description":"protoclass.js =============","main":"./lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/classdojo/protoclass.js.git"},"author":"","license":"BSD","gitHead":"b0ea547e3df4b671d29ee2f6d13a2f6855f4d56f","devDependencies":{"expect.js":"~0.2.0","mocha":"~1.13.0"},"bugs":{"url":"https://github.com/classdojo/protoclass.js/issues"},"_id":"protoclass@0.0.2","dist":{"shasum":"3b90ac800b072a0d9f169ba63148507c22455671","tarball":"https://registry.npmjs.org/protoclass/-/protoclass-0.0.2.tgz","integrity":"sha512-//gSDl+f/RlH6YEK1WQ1C5Z6c9pSzcoO5x/POvtzORptyNnle+J71mEc17iB2eFm4WsLmkSxxjfQRi3JvpjEyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJqfPwHGoYdZeQLVnv5HgiFrUgQ91wqnoVVIHMS+Z+zAIgcH1/BnglrMgpxzie4m+6RcSBl8g3hWYKRZ8x0CtCT1k="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"directories":{}},"0.0.4":{"name":"protoclass","version":"0.0.4","description":"protoclass.js =============","main":"./lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/classdojo/protoclass.js.git"},"author":"","license":"BSD","gitHead":"b0ea547e3df4b671d29ee2f6d13a2f6855f4d56f","devDependencies":{"expect.js":"~0.2.0","mocha":"~1.13.0"},"bugs":{"url":"https://github.com/classdojo/protoclass.js/issues"},"homepage":"https://github.com/classdojo/protoclass.js","_id":"protoclass@0.0.4","dist":{"shasum":"82ea9beaa2e344beb072c0c898331cb9b5d414ab","tarball":"https://registry.npmjs.org/protoclass/-/protoclass-0.0.4.tgz","integrity":"sha512-zLdRCQT/pGONAJjOntT/jqqMn4uzd3ljrB2hp+L0S4Q50cgclecOLnfVIPsc/GjpvMQqvqZlKvhfg7wJsPKfOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnlNHMjf6zCf6RFwT2svdOV/FtoAyc9JVkoyGngfzUjgIhAPaGZXu1kpyP3cVpNEimNgtcxLbeRXpmODL0daInFUEu"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}]},"0.0.5":{"name":"protoclass","version":"0.0.5","description":"protoclass.js =============","main":"./lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/classdojo/protoclass.js.git"},"author":"","license":"BSD","gitHead":"b0ea547e3df4b671d29ee2f6d13a2f6855f4d56f","devDependencies":{"expect.js":"~0.2.0","mocha":"~1.13.0"},"bugs":{"url":"https://github.com/classdojo/protoclass.js/issues"},"homepage":"https://github.com/classdojo/protoclass.js","_id":"protoclass@0.0.5","dist":{"shasum":"4bbd3c7c0b27b686339e87ac80d1cc05dae870c8","tarball":"https://registry.npmjs.org/protoclass/-/protoclass-0.0.5.tgz","integrity":"sha512-6K+fxlMd/N8f7pjlvkGU87xyux044//BvjyNdu5PQAMIgBorVaG6wbI35TxW7dVYQPpzsVylZIjYDQ05orB7zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/f57gENWFHfTR+u1BV55H1gMFWU8ZRjqUIsUhMbFZdgIhAOhsYNDuww6uJhNsYANDys6SS12b2+7o96XUJPj/3boi"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}]},"0.0.6":{"name":"protoclass","version":"0.0.6","description":"protoclass.js =============","main":"./lib/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/classdojo/protoclass.js.git"},"author":"","license":"BSD","gitHead":"b0ea547e3df4b671d29ee2f6d13a2f6855f4d56f","devDependencies":{"expect.js":"~0.2.0","mocha":"~1.13.0"},"bugs":{"url":"https://github.com/classdojo/protoclass.js/issues"},"homepage":"https://github.com/classdojo/protoclass.js","_id":"protoclass@0.0.6","_shasum":"d740bbe6844d101a4b65c5c5c43d93e74378391f","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.30","_npmUser":{"name":"architectd","email":"craig.j.condon@gmail.com"},"maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"dist":{"shasum":"d740bbe6844d101a4b65c5c5c43d93e74378391f","tarball":"https://registry.npmjs.org/protoclass/-/protoclass-0.0.6.tgz","integrity":"sha512-V+eGEAC7KI3NhZL5Vl2rcxwKMAgvDkGKPhfrJDLBVP7kW/+mS48bloIpo3L+7MtSiVN2Q+kwrasBxzZU34HmPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDEapD9EOYlMLJthVNu7FImSFoHJRMcJ+zOkHnqnrhJLAiBoLmrOk4HZrj34HdOpf8uCcAcwHs722QT/hWWh3BolnQ=="}]}}},"readme":"protoclass is a thin class library that helps create, and extend prototypes.\n\n### Example\n\n\n```javascript\n\nvar protoclass = require(\"protoclass\");\n\n\nfunction Animal(name) {\n  this.name = name;\n}\n\nprotoclass(Animal);\n\nfunction Cat(name) {\n  Cat.parent.apply(this, arguments);\n}\n\nAnimal.extend(Cat, {\n  meow: function() {\n    console.log(this.name + \": meow\");\n  }\n});\n\n\nconsole.log(Class.prototype.constructor == Class); // true\nconsole.log(Class.parent == Animal); // true\nconsoele.log(Class.name); // Cat\n```\n\n## API\n\n### fn protoclass([superclass,] subclass[, mixins])\n\n### fn.superclass\n\n### fn.__super__\n\nsuper prototype\n\n```javascript\nfunction Vehicle() {\n  \n}\n\nprotoclass(Vehicle, {\n  drive: function () {\n\n  }\n});\n\n\nfunction Car () {\n  Vehicle.superclass.apply(this, argumments);\n}\n\nVehicle.extend(Car, {\n  drive: function () {\n    Car.__super__.drive.call(this);\n  }\n});\n```\n\n### fn.extend(subclass[, mixins])\n\n### fn.mixin(mixins)\n\ncopies the the mixins over to the prototype\n","maintainers":[{"name":"architectd","email":"craig.j.condon@gmail.com"}],"time":{"modified":"2022-06-24T20:57:31.433Z","created":"2013-11-01T21:49:13.377Z","0.0.1":"2013-11-01T21:49:14.211Z","0.0.2":"2013-11-18T12:19:57.926Z","0.0.4":"2013-12-02T20:21:54.577Z","0.0.5":"2013-12-02T20:25:19.075Z","0.0.6":"2014-10-26T19:42:01.555Z"},"repository":{"type":"git","url":"git://github.com/classdojo/protoclass.js.git"},"homepage":"https://github.com/classdojo/protoclass.js","bugs":{"url":"https://github.com/classdojo/protoclass.js/issues"},"license":"BSD","readmeFilename":"README.md"}