{"_id":"boo","_rev":"19-a621c7c5454a8a95edd8e4751aa97d14","name":"boo","description":"Core prototypical primitives for Object Orientation/Composition.","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"boo","version":"0.1.0","author":{"name":"Quildreen Motta","url":"http://killdream.github.com/"},"description":"Provides utilities for prototypical OO with mixins and trait composition.","repository":{"type":"git","url":"git://github.com/killdream/boo.git"},"main":"./src/boo.js","dependencies":{},"devDependencies":{},"_id":"boo@0.1.0","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.6","_nodeVersion":"v0.4.8-pre","_defaultsLoaded":true,"dist":{"shasum":"8e069824f2cddc657f07a6608d569623f2a7e2ff","tarball":"https://registry.npmjs.org/boo/-/boo-0.1.0.tgz","integrity":"sha512-W5H1YQ0B1b+dyXAMWihEBH19xUWAtpNMnRy/RnSD+GTa49T+bH7YKd9zimkzOhwTIzOMPDY4fj6JQ219LMNBCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHoldvuMVPZ3oyy3c7KVhpwNQq8m159a8B4c8bD1uUrGAiAst63+TeLOIyxs/pb4MPIycVgbDt0AREUI/JOpXYC2dg=="}]},"scripts":{},"maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}]},"1.1.0":{"name":"boo","version":"1.1.0","author":{"name":"Quildreen Motta","url":"http://killdream.github.com/"},"description":"Prototypical utilities for Object Orientation / Composition","repository":{"type":"git","url":"git://github.com/killdream/boo.git"},"main":"./src/boo.js","_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"_id":"boo@1.1.0","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.8-pre","_defaultsLoaded":true,"dist":{"shasum":"066cee1785b45186650c69bae8c11d6e1dee6edc","tarball":"https://registry.npmjs.org/boo/-/boo-1.1.0.tgz","integrity":"sha512-nShB3nwSsuk3cltazvecempYreuQmPqSyRq6J4SqrvcW6/xQSbpw8Q9+QRVDglYaOq47sVvNGUVU0wlmkPP49Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDJdbTSl2Qq3Fa1R0pMAWU4ni6ygFyRkY7rFSmdYPwKAIhAMfG7lP7aK66bdkSt/8/isvN3506o88m9LBVstUhFHX/"}]},"maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}]},"1.2.0":{"name":"boo","version":"1.2.0","author":{"name":"Quildreen Motta","url":"http://killdream.github.com/"},"description":"Prototypical utilities for Object Orientation / Composition","repository":{"type":"git","url":"git://github.com/killdream/boo.git"},"main":"./src/boo.js","_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"_id":"boo@1.2.0","dependencies":{},"devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"e45fba160682ebdaa9f24d04185fbb7c0041b242","tarball":"https://registry.npmjs.org/boo/-/boo-1.2.0.tgz","integrity":"sha512-1SG4YgyC0dAg2Y6AOlI2xO6sFurYGBkP3lYZVNzUJrxPnYnhXXNfiQZL0XyOxNJpmiKoz5rG9oQWs35lugtoyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6HWaaiRuXdB4i73UBGSqdVGmn0oa0CNiiGis86W+XpgIhAKeqFNqwvzXxwNvVTfLj7ffkUjavQI1OBS/Xmq7vFyTz"}]},"readme":"Boo\n===\n\nBoo provides utilities to structure a program by means of prototypical\nobject orientation and object composition, in an easy way. It provides\nyou with inheritance, composition and mixin facilities, all packaged in\na nice API.\n\n    var Animal = boo.Base.derive({\n      name: 'Unknow'\n    \n    , say:\n      function say(thing) {\n        return this.name + ': ' + thing }\n    })\n    \n    var Cat = Animal.derive({\n      init:\n      function init(name) {\n        if (name) this.name = name }\n    })\n    \n    var nyah = Cat.make('Nyan Cat')\n    nyah.say('Nyan nyan nyan~')\n\n\nInstalling\n----------\n\nWith Node.js and NPM, you can do the easy-modo install:\n\n    $ npm install boo\n    # then require it as usual\n    node> var boo = require('boo')\n\nIn the browser, you have to include the script tag pointing to the\n`boo.js` file:\n\n    <script src=\"/path/to/boo.js\"></script>\n    <script type=\"text/javascript\">\n      // `boo' is in the global scope now\n    </script>\n\n\nTesting\n-------\n\nBoo's test cases use [Mocha][] with the BDD assertion module\n[should.js][]. For testing on Node.js, you can just grab the module from\nNPM and run the test cases by issuing `mocha` from the command line:\n\n    $ sudo npm install -g mocha\n    $ mocha\n\n[Mocha]: visionmedia.github.com/mocha/\n[should.js]: https://github.com/visionmedia/should.js\n\n\nLearning\n--------\n\nBoo ships with a [full narrated reference manual][ref], covering the\nconcepts and designs you need to know to use the library effectively.\nYou can either read it online, or locally — from the file\n:file:`docs/build/html/index.html`. \n\nAdditionally, you can read the following introduction to Boo:\n\n- [Yay for sugary JavaScript OO][intro]\n\n\n[ref]: http://killdream.github.com/boo\n[intro]: http://killdream.github.com/blog/2011/11/for-sugary-object-oriented-js/index.html\n\n\nGetting support\n---------------\n\nBoo uses the [Github tracker][] for tracking bugs and new features.\n\n[Github tracker]: https://github.com/killdream/boo/issues\n\n\nLicence\n-------\n\nBoo is licensed under the delicious and permissive [MIT][] licence. You\ncan happily copy, share, modify, sell or whatever — refer to the actual\nlicence text for `less` information:\n\n    $ less LICENCE.txt\n\n[MIT]: https://github.com/killdream/boo/raw/master/LICENCE.txt\n","maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}]},"1.2.1":{"name":"boo","version":"1.2.1","author":{"name":"Orphoundation"},"description":"Prototypical utilities for Object Orientation / Composition","contributors":[{"name":"Quildreen Motta","email":"quildreen@gmail.com"}],"repository":{"type":"git","url":"git://github.com/Orphoundation/boo.git"},"main":"./src/boo.js","keywords":["object orientation","oop","mixins","prototypes"],"devDependencies":{"mocha":"*","should":"*"},"licence":"MIT","_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"_id":"boo@1.2.1","dependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.8.1","_defaultsLoaded":true,"dist":{"shasum":"79a8053b4014a83ee9d5a1e4e2515a3e6593d3fe","tarball":"https://registry.npmjs.org/boo/-/boo-1.2.1.tgz","integrity":"sha512-I5vw3UpFdv1ZcjCb5oh43ajZ/Nlb3hOGQLSd3vsRBmX7NIGPTC1DuRib4tjmY1gBYdIRQpPR2MPwJtKwn7cuaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESaD/5jpjce80ofHBPPF3RLf/gavdRTxZXEBQizmb4dAiAkoKwsm/c7sHVLfAiwMhMQ1XS4Ax31k2pFPVjMj6qWHA=="}]},"readme":"Boo\n===\n\nBoo provides utilities to structure a program by means of prototypical\nobject orientation and object composition, in an easy way. It provides\nyou with inheritance, composition and mixin facilities, all packaged in\na nice API.\n\n    var Animal = boo.Base.derive({\n      name: 'Unknow'\n    \n    , say:\n      function say(thing) {\n        return this.name + ': ' + thing }\n    })\n    \n    var Cat = Animal.derive({\n      init:\n      function init(name) {\n        if (name) this.name = name }\n    })\n    \n    var nyah = Cat.make('Nyan Cat')\n    nyah.say('Nyan nyan nyan~')\n\n\nInstalling\n----------\n\nWith Node.js and NPM, you can do the easy-modo install:\n\n    $ npm install boo\n    # then require it as usual\n    node> var boo = require('boo')\n\nIn the browser, you have to include the script tag pointing to the\n`boo.js` file:\n\n    <script src=\"/path/to/boo.js\"></script>\n    <script type=\"text/javascript\">\n      // `boo' is in the global scope now\n    </script>\n\n\nTesting\n-------\n\nBoo's test cases use [Mocha][] with the BDD assertion module\n[should.js][]. For testing on Node.js, you can just grab the module from\nNPM and run the test cases by issuing `mocha` from the command line:\n\n    $ sudo npm install -g mocha\n    $ mocha\n\n[Mocha]: visionmedia.github.com/mocha/\n[should.js]: https://github.com/visionmedia/should.js\n\n\nLearning\n--------\n\nBoo ships with a [full narrated reference manual][ref], covering the\nconcepts and designs you need to know to use the library effectively.\nYou can either read it online, or locally — from the file\n:file:`docs/build/html/index.html`. \n\nAdditionally, you can read the following introduction to Boo:\n\n- [Yay for sugary JavaScript OO][intro]\n\n\n[ref]: http://killdream.github.com/boo\n[intro]: http://killdream.github.com/blog/2011/11/for-sugary-object-oriented-js/index.html\n\n\nGetting support\n---------------\n\nBoo uses the [Github tracker][] for tracking bugs and new features.\n\n[Github tracker]: https://github.com/Orphoundation/boo/issues\n\n\nLicence\n-------\n\nBoo is licensed under the delicious and permissive [MIT][] licence. You\ncan happily copy, share, modify, sell or whatever — refer to the actual\nlicence text for `less` information:\n\n    $ less LICENCE.txt\n\n[MIT]: https://github.com/Orphoundation/boo/raw/master/LICENCE.txt\n","maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}]},"1.2.2":{"name":"boo","version":"1.2.2","author":{"name":"Orphoundation"},"description":"Core prototypical primitives for Object Orientation/Composition.","repository":{"type":"git","url":"git://github.com/Orphoundation/boo.git"},"bugs":{"url":"http://github.com/Orphoundation/boo/issues"},"scripts":{"test":"mocha","benchmark":"node ./test/benchmarks/suite"},"main":"./src/boo.js","keywords":["object orientation","oop","mixins","prototypes"],"licence":"MIT","devDependencies":{"mocha":"~1.7.4","should":"~1.2.1","benchmark":"~1.0.0","microtime":"~0.3.3"},"_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"_id":"boo@1.2.2","contributors":[{"name":"Quildreen \"Sorella\" Motta","url":"http://killdream.github.com/"}],"dependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.8.1","_defaultsLoaded":true,"dist":{"shasum":"220b13c6c71bdfaa80e29d3a6db251f5d887bafe","tarball":"https://registry.npmjs.org/boo/-/boo-1.2.2.tgz","integrity":"sha512-xT3ktLk5zP42Pdu/wi8/IDexW7Pd9shyxUA+FbONGUgyNhA5M3m59ylmNpBHlFB/YsrNcd/DDy6aRT1HiHI06w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcP/WsxaCWrFYw+/Nbgix7oYdksuPRadig1cWjoovYxAiA0nE+RAKfxWkwOv/J790lPbX2p4kuNnYwykgxwz09z2w=="}]},"readme":"Boo\n===\n\nBoo provides utilities to structure a program by means of prototypical\nobject orientation and object composition, in an easy way. It provides\nyou with inheritance, composition and mixin facilities, all packaged in\na nice API.\n\n    var Animal = boo.Base.derive({\n      name: 'Unknow'\n    \n    , say:\n      function say(thing) {\n        return this.name + ': ' + thing }\n    })\n    \n    var Cat = Animal.derive({\n      init:\n      function init(name) {\n        if (name) this.name = name }\n    })\n    \n    var nyah = Cat.make('Nyan Cat')\n    nyah.say('Nyan nyan nyan~')\n\n\nInstalling\n----------\n\nWith Node.js and NPM, you can do the easy-modo install:\n\n    $ npm install boo\n    # then require it as usual\n    node> var boo = require('boo')\n\nIn the browser, you have to include the script tag pointing to the\n`boo.js` file:\n\n    <script src=\"/path/to/boo.js\"></script>\n    <script type=\"text/javascript\">\n      // `boo' is in the global scope now\n    </script>\n\n\nTesting\n-------\n\nBoo's test cases use [Mocha][] with the BDD assertion module\n[should.js][]. For testing on Node.js, you can just grab the module from\nNPM and run the test cases by issuing `mocha` from the command line:\n\n    $ sudo npm install -g mocha\n    $ mocha\n\n[Mocha]: visionmedia.github.com/mocha/\n[should.js]: https://github.com/visionmedia/should.js\n\n\nLearning\n--------\n\nBoo ships with a [full narrated reference manual][ref], covering the\nconcepts and designs you need to know to use the library effectively.\nYou can either read it online, or locally — from the file \n`docs/build/html/index.html`. \n\nAdditionally, you can read the following introduction to Boo:\n\n- [Yay for sugary JavaScript OO][intro]\n\n\n[ref]: http://boo.readthedocs.org/\n[intro]: http://killdream.github.com/blog/2011/11/for-sugary-object-oriented-js/index.html\n\n\nGetting support\n---------------\n\nBoo uses the [Github tracker][] for tracking bugs and new features.\n\n[Github tracker]: https://github.com/Orphoundation/boo/issues\n\n\nLicence\n-------\n\nBoo is licensed under the delicious and permissive [MIT][] licence. You\ncan happily copy, share, modify, sell or whatever — refer to the actual\nlicence text for `less` information:\n\n    $ less LICENCE.txt\n\n[MIT]: https://github.com/Orphoundation/boo/raw/master/LICENCE.txt\n","maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}]},"1.2.3":{"name":"boo","version":"1.2.3","author":{"name":"Quildreen \"Sorella\" Motta","email":"quildreen@gmail.com"},"description":"Core prototypical primitives for Object Orientation/Composition.","repository":{"type":"git","url":"http://github.com/killdream/boo.git"},"bugs":{"url":"http://github.com/killdream/boo/issues"},"scripts":{"test":"mocha","benchmark":"node ./test/benchmarks/suite"},"main":"./src/boo.js","keywords":["object orientation","oop","mixins","prototypes"],"licence":"MIT","devDependencies":{"mocha":"~1.7.4","should":"~1.2.1","benchmark":"~1.0.0","microtime":"~0.3.3"},"contributors":[{"name":"Quildreen \"Sorella\" Motta","url":"http://killdream.github.com/"}],"readme":"Boo\n===\n\nBoo provides utilities to structure a program by means of prototypical\nobject orientation and object composition, in an easy way. It provides\nyou with inheritance, composition and mixin facilities, all packaged in\na nice API.\n\n    var Animal = boo.Base.derive({\n      name: 'Unknow'\n    \n    , say:\n      function say(thing) {\n        return this.name + ': ' + thing }\n    })\n    \n    var Cat = Animal.derive({\n      init:\n      function init(name) {\n        if (name) this.name = name }\n    })\n    \n    var nyah = Cat.make('Nyan Cat')\n    nyah.say('Nyan nyan nyan~')\n\n\nInstalling\n----------\n\nWith Node.js and NPM, you can do the easy-modo install:\n\n    $ npm install boo\n    # then require it as usual\n    node> var boo = require('boo')\n\nIn the browser, you have to include the script tag pointing to the\n`boo.js` file:\n\n    <script src=\"/path/to/boo.js\"></script>\n    <script type=\"text/javascript\">\n      // `boo' is in the global scope now\n    </script>\n\n\nTesting\n-------\n\nBoo's test cases use [Mocha][] with the BDD assertion module\n[should.js][]. For testing on Node.js, you can just grab the module from\nNPM and run the test cases by issuing `mocha` from the command line:\n\n    $ sudo npm install -g mocha\n    $ mocha\n\n[Mocha]: visionmedia.github.com/mocha/\n[should.js]: https://github.com/visionmedia/should.js\n\n\nLearning\n--------\n\nBoo ships with a [full narrated reference manual][ref], covering the\nconcepts and designs you need to know to use the library effectively.\nYou can either read it online, or locally — from the file \n`docs/build/html/index.html`. \n\nAdditionally, you can read the following introduction to Boo:\n\n- [Yay for sugary JavaScript OO][intro]\n\n\n[ref]: http://boo.readthedocs.org/\n[intro]: http://killdream.github.com/blog/2011/11/for-sugary-object-oriented-js/index.html\n\n\nGetting support\n---------------\n\nBoo uses the [Github tracker][] for tracking bugs and new features.\n\n[Github tracker]: https://github.com/Orphoundation/boo/issues\n\n\nLicence\n-------\n\nMIT/X11.\n","readmeFilename":"README.md","_id":"boo@1.2.3","dist":{"shasum":"f8c1ffdd3654943064d1818b15e080a5c9291056","tarball":"https://registry.npmjs.org/boo/-/boo-1.2.3.tgz","integrity":"sha512-bvWARXwQLnjPS54F1zISbK6qguSI2yC+nOLRICDNI8N7KmKGilAlYZrxbx124nEa3pHkMtZlAM/cM5z6VshzGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWzsoPJUJc8czNdjC4/ME8jruJqjLftodlDujpvObqLAiA3Dm0br6mcuNu3Wi1dNDBttalQPY5VFo108FPm6MyQhw=="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}]},"1.2.4":{"name":"boo","version":"1.2.4","author":{"name":"Quildreen \"Sorella\" Motta","email":"quildreen@gmail.com"},"description":"Core prototypical primitives for Object Orientation/Composition.","repository":{"type":"git","url":"http://github.com/killdream/boo.git"},"bugs":{"url":"http://github.com/killdream/boo/issues"},"scripts":{"test":"mocha","benchmark":"node ./test/benchmarks/suite"},"main":"./lib/boo.js","keywords":["object orientation","oop","mixins","prototypes"],"licence":"MIT","devDependencies":{"mocha":"~1.7.4","should":"~1.2.1","benchmark":"~1.0.0","microtime":"~0.3.3"},"contributors":[{"name":"Quildreen \"Sorella\" Motta","url":"http://killdream.github.com/"}],"readme":"Boo\n===\n\nBoo provides utilities to structure a program by means of prototypical\nobject orientation and object composition, in an easy way. It provides\nyou with inheritance, composition and mixin facilities, all packaged in\na nice API.\n\n    var Animal = boo.Base.derive({\n      name: 'Unknow'\n    \n    , say:\n      function say(thing) {\n        return this.name + ': ' + thing }\n    })\n    \n    var Cat = Animal.derive({\n      init:\n      function init(name) {\n        if (name) this.name = name }\n    })\n    \n    var nyah = Cat.make('Nyan Cat')\n    nyah.say('Nyan nyan nyan~')\n\n\nInstalling\n----------\n\nWith Node.js and NPM, you can do the easy-modo install:\n\n    $ npm install boo\n    # then require it as usual\n    node> var boo = require('boo')\n\nIn the browser, you have to include the script tag pointing to the\n`boo.js` file:\n\n    <script src=\"/path/to/boo.js\"></script>\n    <script type=\"text/javascript\">\n      // `boo' is in the global scope now\n    </script>\n\n\nTesting\n-------\n\nBoo's test cases use [Mocha][] with the BDD assertion module\n[should.js][]. For testing on Node.js, you can just grab the module from\nNPM and run the test cases by issuing `mocha` from the command line:\n\n    $ sudo npm install -g mocha\n    $ mocha\n\n[Mocha]: visionmedia.github.com/mocha/\n[should.js]: https://github.com/visionmedia/should.js\n\n\nLearning\n--------\n\nBoo ships with a [full narrated reference manual][ref], covering the\nconcepts and designs you need to know to use the library effectively.\nYou can either read it online, or locally — from the file \n`docs/build/html/index.html`. \n\nAdditionally, you can read the following introduction to Boo:\n\n- [Yay for sugary JavaScript OO][intro]\n\n\n[ref]: http://boo.readthedocs.org/\n[intro]: http://killdream.github.com/blog/2011/11/for-sugary-object-oriented-js/index.html\n\n\nGetting support\n---------------\n\nBoo uses the [Github tracker][] for tracking bugs and new features.\n\n[Github tracker]: https://github.com/Orphoundation/boo/issues\n\n\nLicence\n-------\n\nMIT/X11.\n","readmeFilename":"README.md","_id":"boo@1.2.4","dist":{"shasum":"b33331c36c4ae79d82f4fd0e4490604cb7c513b5","tarball":"https://registry.npmjs.org/boo/-/boo-1.2.4.tgz","integrity":"sha512-U+pq3vSlL93Wxpsz+o0aulYhZko1BG1sGVQ12k7VdhNHO07cCHOHHwmyB+n3sldyvF0VryIP/L+3i7ELxxaZdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQicA4qRWdYoBj3yjP1E1WjjoLw6+H7BcBiB3INbtNZQIgWPf7qOH5rvw3NSzd8/1qKef3jbGoCD7jCYVFCv8kcAk="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}]},"2.0.0":{"name":"boo","version":"2.0.0","author":{"name":"Quildreen \"Sorella\" Motta","email":"quildreen@gmail.com"},"description":"Core prototypical primitives for Object Orientation/Composition.","repository":{"type":"git","url":"http://github.com/killdream/boo.git"},"bugs":{"url":"http://github.com/killdream/boo/issues"},"scripts":{"test":"make test","benchmark":"make benchmark"},"main":"./lib/boo.js","keywords":["object orientation","oop","mixins","prototypes"],"licence":"MIT","devDependencies":{"benchmark":"~1.0.0","brofist-tap":"~0.1.0","brofist":"~0.2.3","brofist-minimal":"~0.1.1"},"calliope":{"output":"docs/api","copyright":"© 2013 Quildreen \"Sorella\" Motta","packages":[{"files":["lib/*.js"]}]},"testling":{"files":"test/tap.js","browsers":["ie/6..latest","chrome/20..latest","firefox/15..latest","safari/latest","opera/11.0..latest","iphone/6","ipad/6","android-browser/4.2"]},"contributors":[{"name":"Quildreen \"Sorella\" Motta","url":"http://killdream.github.com/"}],"readme":"Boo [![Build Status](https://travis-ci.org/killdream/boo.png)](https://travis-ci.org/killdream/boo) ![Dependencies Status](https://david-dm.org/killdream/boo.png)\n===\n\nBoo provides utilities to structure a program by means of prototypical\nobject orientation and object composition, in an easy way. It provides\nyou with inheritance, composition and mixin facilities, all packaged in\na nice API.\n\n    var Animal = boo.Base.derive({\n      name: 'Unknow'\n    \n    , say:\n      function say(thing) {\n        return this.name + ': ' + thing }\n    })\n    \n    var Cat = Animal.derive({\n      withName:\n      function _withName(name) {\n        return this.derive({ name: name }) }\n    })\n    \n    var nyah = Cat.withName('Nyan Cat')\n    nyah.say('Nyan nyan nyan~')\n\n\nInstalling\n----------\n\nWith Node.js and NPM, you can do the easy-modo install:\n\n    $ npm install boo\n    # then require it as usual\n    node> var boo = require('boo')\n\nIn the browser, you have to include the script tag pointing to the\n`boo.js` file:\n\n    <script src=\"/path/to/boo.js\"></script>\n    <script type=\"text/javascript\">\n      // `boo' is in the global scope now\n    </script>\n\n\nPlatform support\n----------------\n\nES3 and beyond!\n\n[![browser support](https://ci.testling.com/killdream/boo.png)](http://ci.testling.com/killdream/boo)\n\n\nTesting\n-------\n\nFor Node, just:\n\n    $ npm test          # (or make test)\n    \n    \nFor the browser:\n\n    $ npm install -g brofist-browser\n    $ make browser-test\n    # Then point your browsers to the URL on yer console.\n\n\nBenchmarks\n----------\n\nThere are a few benchmarks you can run:\n\n```bash\n$ make benchmark\n```\n\n\nLearning\n--------\n\nBoo ships with a [full narrated reference manual][ref], covering the\nconcepts and designs you need to know to use the library effectively.\nYou can either read it online, or locally — from the file \n`docs/build/html/index.html`. \n\nAdditionally, you can read the following introduction to Boo:\n\n- [Yay for sugary JavaScript OO][intro]\n\n\n[ref]: http://boo.readthedocs.org/\n[intro]: http://killdream.github.com/blog/2011/11/for-sugary-object-oriented-js/index.html\n\n\nReference\n---------\n\n### `extend(target, mixins...)`\n\nExtends the target with the provided mixins, using a right-most precedence\nrule.\n\n```hs\nextend: object, mixin... -> object\n```\n\n### `merge(mixins...)`\n\nLike `extend`, but pure.\n\n```hs\nmerge: mixin... -> object\n```\n\n### `derive(proto, mixin...)`\n\nConstructs a new object that inherits from `proto`.\n\n```hs\nderive: object, mixin... -> object\n```\n\n### `Base:make(...)`\n\nInstantiates a new object, and initialises it by calling the `init` method.\n\n```hs\nmake: @object => A... -> this <| object\n```\n\n### `Base:derive(mixin...)`\n\nLike `derive`, but the prototype is the `this` object.\n\n```hs\nderive: @object => mixin... -> this <| object\n```\n\n\nGetting support\n---------------\n\nBoo uses the [Github tracker][] for tracking bugs and new features.\n\n[Github tracker]: https://github.com/Orphoundation/boo/issues\n\n\nLicence\n-------\n\nMIT/X11.\n","readmeFilename":"README.md","_id":"boo@2.0.0","dist":{"shasum":"cd38c353503cd6f2764963d95886cd25ab5dc5ea","tarball":"https://registry.npmjs.org/boo/-/boo-2.0.0.tgz","integrity":"sha512-oaSGmnj3mTHH1rnVQ6/sZcaebBbQlziV0dC5qjufujmafXG+UYxA54I8qly90XGDwOt7VPIeUJ7Cu7YlUFumNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEAc4OfaADkGswFds0qeCu1pBYusOM4R3xdBRpE3jwZaAiApdD1y5pa9gXjeXV3V3XzO8Hodx9KdKQSJRLvzr2aYoQ=="}]},"_from":".","_npmVersion":"1.2.16","_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}]}},"maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}],"time":{"modified":"2022-06-13T04:55:21.370Z","created":"2011-10-14T00:55:57.998Z","0.1.0":"2011-10-14T00:55:59.219Z","1.1.0":"2011-11-19T22:22:21.744Z","1.2.0":"2012-01-13T01:39:29.778Z","1.2.1":"2012-12-02T17:26:48.881Z","1.2.2":"2012-12-16T20:20:37.361Z","1.2.3":"2013-02-14T23:53:21.196Z","1.2.4":"2013-02-19T01:14:20.364Z","2.0.0":"2013-05-23T02:05:21.683Z"},"author":{"name":"Quildreen \"Sorella\" Motta","email":"quildreen@gmail.com"},"repository":{"type":"git","url":"http://github.com/killdream/boo.git"}}