{"_id":"mixto","_rev":"17-b8397f39abe17de4c420dd4f05f3fdcf","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":"https://registry.npmjs.org/mixto/-/mixto-0.1.0.tgz","integrity":"sha512-ufiS72x6qFWEqH9Nr+J2UzMMVA5JdCkYHVAiz1DLdlMuh8yMA4qUzUN+/DAS9jvKJeUYzZk6tzDUpjZDrOhQWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnn6J7AYKF06xnOh3g1kZsXSOMM7MwQL4f6NYXWJkYIgIgNpKruezWj8nw7xMQX/WC69VSM4JDv80Ej/ht53H0WJU="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}]},"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":"https://registry.npmjs.org/mixto/-/mixto-0.2.0.tgz","integrity":"sha512-nmYpTY6cg4S3yIGl26HMxmEtxHWKV56Ic9Slw7Qe8gpfwNU0q0xC6DmZ7dympn+0aRJ3rP9Ze71K7j62oOhovA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2w9fCaOknvPLOiMpcOUl8lVFryFiA8DE6XEmEILwpWwIhAJuGXxaPLO84DmFhfdKHXSB2bfdKKbKYB/tR9tHqY0ET"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}]},"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":"https://registry.npmjs.org/mixto/-/mixto-0.3.0.tgz","integrity":"sha512-0vyBKRL8fxd0j9YFOfyRc2+ruMDIlu2keitb76tIgT7iNrWQLPJvSqcJo5HSr+5pWN1sH82KDW0OJacTnj9p/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUEa27zS7o8NyNyqhRidyLWZGcDHFsVHzty7LOEY9kgwIgWAXnk//FUbTrNq6r3Ku56S1d9A7nxK2vQxis+QNPBig="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}]},"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":"https://registry.npmjs.org/mixto/-/mixto-0.4.0.tgz","integrity":"sha512-WSuakhOBM8jCsG9i13z9Xkdn82RUMHjfvIHcQGutpS0h5YUrS01UMexmeA6NHPr/Y7mosaXJJYemyvqSFLbhcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDzGob/SnzSb0wi827VUf+/UvnNWGXODnGmRSj6oIB9oAiBtQUWlFQ1tpPF2TZWV1s1zo1giasPUUQU32Cs4hh3zGg=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}]},"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":"https://registry.npmjs.org/mixto/-/mixto-1.0.0.tgz","integrity":"sha512-g2Kg8O3ww9RbWuPnAgTsAhe+aBwVXoo/lhYyDKTYPiLKdJofAr97O8zTFzW5UfiJUoeJbmXLmcjDAF7/Egwi8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+IU8YCr58ufvdfum2xY9bKmkAhTuiP/Ua/xeelR7gZAiBpluDa0nsWY/C/ehgyugzuRQKGphF+dQSEOoDSNU1DXw=="}]},"_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"}]}},"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":[{"email":"atom@github.com","name":"atom-team"},{"email":"nathan@github.com","name":"nathansobo"},{"email":"kevinsawicki@gmail.com","name":"kevinsawicki"},{"email":"ogle.ben@gmail.com","name":"benogle"}],"time":{"modified":"2022-06-19T23:07:23.203Z","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"}