{"dist":{"shasum":"79a8053b4014a83ee9d5a1e4e2515a3e6593d3fe","tarball":"https://registry.npmjs.org/boo/-/boo-1.2.1.tgz","integrity":"sha512-I5vw3UpFdv1ZcjCb5oh43ajZ/Nlb3hOGQLSd3vsRBmX7NIGPTC1DuRib4tjmY1gBYdIRQpPR2MPwJtKwn7cuaw==","signatures":[{"sig":"MEQCIESaD/5jpjce80ofHBPPF3RLf/gavdRTxZXEBQizmb4dAiAkoKwsm/c7sHVLfAiwMhMQ1XS4Ax31k2pFPVjMj6qWHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./src/boo.js","name":"boo","author":{"name":"Orphoundation"},"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","engines":{"node":"*"},"licence":"MIT","_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"keywords":["object orientation","oop","mixins","prototypes"],"repository":{"url":"git://github.com/Orphoundation/boo.git","type":"git"},"_npmVersion":"1.1.0-3","description":"Prototypical utilities for Object Orientation / Composition","maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}],"_nodeVersion":"v0.8.1","contributors":[{"name":"Quildreen Motta","email":"quildreen@gmail.com"}],"dependencies":{},"_defaultsLoaded":true,"devDependencies":{"mocha":"*","should":"*"},"_engineSupported":true,"optionalDependencies":{},"_id":"boo@1.2.1","version":"1.2.1"}