{"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":"http://registry-npm.ywwl.com/boo/download/boo-1.2.1.tgz","integrity":"sha512-I5vw3UpFdv1ZcjCb5oh43ajZ/Nlb3hOGQLSd3vsRBmX7NIGPTC1DuRib4tjmY1gBYdIRQpPR2MPwJtKwn7cuaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIESaD/5jpjce80ofHBPPF3RLf/gavdRTxZXEBQizmb4dAiAkoKwsm/c7sHVLfAiwMhMQ1XS4Ax31k2pFPVjMj6qWHA=="}],"size":4993,"noattachment":false,"key":"/boo/-/boo-1.2.1.tgz"},"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"}],"directories":{},"publish_time":1354469208881,"_cnpm_publish_time":1354469208881,"dist-tags":{"latest":"2.0.0"}}