{"bugs":{"url":"http://github.com/killdream/boo/issues"},"dist":{"shasum":"f8c1ffdd3654943064d1818b15e080a5c9291056","tarball":"https://registry.npmjs.org/boo/-/boo-1.2.3.tgz","integrity":"sha512-bvWARXwQLnjPS54F1zISbK6qguSI2yC+nOLRICDNI8N7KmKGilAlYZrxbx124nEa3pHkMtZlAM/cM5z6VshzGA==","signatures":[{"sig":"MEQCICWzsoPJUJc8czNdjC4/ME8jruJqjLftodlDujpvObqLAiA3Dm0br6mcuNu3Wi1dNDBttalQPY5VFo108FPm6MyQhw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./src/boo.js","name":"boo","author":{"name":"Quildreen \"Sorella\" Motta","email":"quildreen@gmail.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","licence":"MIT","scripts":{"test":"mocha","benchmark":"node ./test/benchmarks/suite"},"_npmUser":{"name":"killdream","email":"quildreen@gmail.com"},"keywords":["object orientation","oop","mixins","prototypes"],"repository":{"url":"http://github.com/killdream/boo.git","type":"git"},"_npmVersion":"1.1.69","description":"Core prototypical primitives for Object Orientation/Composition.","maintainers":[{"name":"killdream","email":"quildreen@gmail.com"}],"contributors":[{"url":"http://killdream.github.com/","name":"Quildreen \"Sorella\" Motta"}],"readmeFilename":"README.md","devDependencies":{"mocha":"~1.7.4","should":"~1.2.1","benchmark":"~1.0.0","microtime":"~0.3.3"},"_id":"boo@1.2.3","version":"1.2.3"}