1 {"_id":"mixto","_rev":"13-0b02739334883d5c73186e417c39a33e","name":"mixto","description":"A mixin superclass. Its subclasses have `.extend` and `.includeInto` methods to mix behavior into other objects and classes.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"mixto","version":"0.1.0","description":"A mixin superclass. Its subclasses have `.extend` and `.includeInto` methods to mix behavior into other objects and classes.","main":"lib/mixin","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/atom/mixto"},"keywords":["mixin","trait"],"bugs":{"url":"https://github.com/atom/mixto/issues"},"licenses":[{"type":"MIT","url":"http://github.com/atom/mixto/raw/master/LICENSE.md"}],"devDependencies":{"coffee-script":"~1.6.3","jasmine-focused":"~0.12.0","jasmine-waits-for-callback":"~0.1.0","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"author":{"name":"Nathan Sobo"},"license":"BSD-2-Clause","_id":"mixto@0.1.0","dist":{"shasum":"e57755228e3a234bb49abbb7ecc973da4c7b5861","tarball":"http://registry.npmjs.org/mixto/-/mixto-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}],"directories":{}},"0.2.0":{"name":"mixto","version":"0.2.0","description":"A mixin superclass. Its subclasses have `.extend` and `.includeInto` methods to mix behavior into other objects and classes.","main":"lib/mixin","scripts":{"prepublish":"grunt clean lint coffee","test":"grunt test"},"repository":{"type":"git","url":"https://github.com/atom/mixto"},"keywords":["mixin","trait"],"bugs":{"url":"https://github.com/atom/mixto/issues"},"licenses":[{"type":"MIT","url":"http://github.com/atom/mixto/raw/master/LICENSE.md"}],"devDependencies":{"coffee-script":"~1.6.3","jasmine-focused":"~0.12.0","jasmine-waits-for-callback":"~0.1.0","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"author":{"name":"Nathan Sobo"},"license":"BSD-2-Clause","_id":"mixto@0.2.0","dist":{"shasum":"479babc453295ce1cf0f7b2bb54cc000939cb722","tarball":"http://registry.npmjs.org/mixto/-/mixto-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}],"directories":{}},"0.3.0":{"name":"mixto","version":"0.3.0","description":"A mixin superclass. Its subclasses have `.extend` and `.includeInto` methods to mix behavior into other objects and classes.","main":"lib/mixin","scripts":{"prepublish":"grunt clean lint coffee","test":"grunt test"},"repository":{"type":"git","url":"https://github.com/atom/mixto"},"keywords":["mixin","trait"],"bugs":{"url":"https://github.com/atom/mixto/issues"},"licenses":[{"type":"MIT","url":"http://github.com/atom/mixto/raw/master/LICENSE.md"}],"devDependencies":{"coffee-script":"~1.6.3","jasmine-focused":"~0.12.0","jasmine-waits-for-callback":"~0.1.0","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"author":{"name":"Nathan Sobo"},"license":"BSD-2-Clause","_id":"mixto@0.3.0","dist":{"shasum":"9f4e6410352a3a67d30c1643042950ad7ce3226b","tarball":"http://registry.npmjs.org/mixto/-/mixto-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}],"directories":{}},"0.4.0":{"name":"mixto","version":"0.4.0","description":"A mixin superclass. Its subclasses have `.extend` and `.includeInto` methods to mix behavior into other objects and classes.","main":"lib/mixin","scripts":{"prepublish":"grunt clean lint coffee","test":"grunt test"},"repository":{"type":"git","url":"https://github.com/atom/mixto"},"keywords":["mixin","trait"],"bugs":{"url":"https://github.com/atom/mixto/issues"},"licenses":[{"type":"MIT","url":"http://github.com/atom/mixto/raw/master/LICENSE.md"}],"devDependencies":{"coffee-script":"~1.6.3","jasmine-focused":"~0.12.0","jasmine-waits-for-callback":"~0.1.0","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"author":{"name":"Nathan Sobo"},"license":"BSD-2-Clause","homepage":"https://github.com/atom/mixto","_id":"mixto@0.4.0","dist":{"shasum":"a54ddcb83087c0a35f8291b29517441727fee445","tarball":"http://registry.npmjs.org/mixto/-/mixto-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}],"directories":{}},"1.0.0":{"name":"mixto","version":"1.0.0","description":"A mixin superclass. Its subclasses have `.extend` and `.includeInto` methods to mix behavior into other objects and classes.","main":"lib/mixin","scripts":{"prepublish":"grunt clean coffee lint","test":"grunt test"},"repository":{"type":"git","url":"https://github.com/atom/mixto"},"keywords":["mixin","trait"],"bugs":{"url":"https://github.com/atom/mixto/issues"},"licenses":[{"type":"MIT","url":"http://github.com/atom/mixto/raw/master/LICENSE.md"}],"devDependencies":{"coffee-script":"~1.6.3","jasmine-focused":"~0.19.0","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"author":{"name":"Nathan Sobo"},"_id":"mixto@1.0.0","dist":{"shasum":"c320ef61b52f2898f522e17d8bbc6d506d8425b6","tarball":"http://registry.npmjs.org/mixto/-/mixto-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"}],"directories":{}}},"readme":"# Mixto: A simple mixin superclass [![Build Status](https://travis-ci.org/atom/mixto.png?branch=master)](https://travis-ci.org/atom/mixto)\n\nTo create a mixin, subclass mixto:\n\n```coffee\nMixin = require 'mixto'\n\nclass MyMixin extends Mixin\n @classMethod: -> console.log(\"foo\")\n instanceMethod: -> console.log(\"bar\")\n```\n\nThen mix into classes with `.includeInto`:\n\n```coffee\nclass MyClass\n MyMixin.includeInto(this)\n \nMyClass.classMethod()\n(new MyClass).instanceMethod()\n```\n\nOr extend individual objects with `.extend`:\n\n```coffee-script\nmyObject = {a: 1, b: 2}\nMyMixin.extend(myObject)\nmyObject.instanceMethod()\n```\n\nOr build standalone instances of your 'mixin':\n\n```\nstandalone = new MyMixin\nstandalone.instanceMethod()\n```\n","maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"benogle","email":"ogle.ben@gmail.com"}],"time":{"modified":"2014-08-27T01:26:26.044Z","created":"2013-10-09T16:03:03.214Z","0.1.0":"2013-10-09T16:03:04.273Z","0.2.0":"2013-11-08T02:02:17.130Z","0.3.0":"2013-11-12T04:22:25.337Z","0.4.0":"2014-01-03T21:46:49.200Z","1.0.0":"2014-01-16T23:38:11.406Z"},"author":{"name":"Nathan Sobo"},"repository":{"type":"git","url":"https://github.com/atom/mixto"},"keywords":["mixin","trait"],"bugs":{"url":"https://github.com/atom/mixto/issues"},"readmeFilename":"README.md","_attachments":{},"_etag":"\"2I4QJBQFV6TQJCZJ8LODC4K2W\""}