{"_id":"coffee-mix","_rev":"25-6fdb8bcfab02289492048eff4598d63f","name":"coffee-mix","description":"Mixins support for CoffeeScript","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"coffee-mix","description":"Mixins support for CoffeeScript","version":"0.0.1","keywords":["mixin","coffee-script","oop","mixins","concerns","includes"],"homepage":"https://github.com/Sitin/coffee-mix","author":{"name":"Mikhail Zyatin","email":"mikhail.zyatin@gmail.com","url":"https://twitter.com/vivisjatin/"},"repository":{"type":"git","url":"http://github.com/Sitin/coffee-mix.git"},"engines":{"node":">=0.8.14"},"scripts":{"start":"node index","test":"grunt test","prepublish":"grunt publish"},"dependencies":{},"devDependencies":{"lodash":"~1.0.0","mocha":"~1.8.0","codo":"~1.5.6","grunt":"~0.3.17","grunt-bg-shell":"~1.0.2","grunt-coffee":"~0.0.6","grunt-coffeelint":"0.0.4","grunt-mocha-test":"~0.1.1","grunt-contrib-clean":"~0.3.1","chai":"~1.4.2","chai-spies":"~0.5.1"},"readmeFilename":"README.md","main":"index.js","directories":{"test":"test","doc":"doc"},"license":"MIT","readme":"coffee-mix\n==========\n\nMixins support for CoffeeScript.","_id":"coffee-mix@0.0.1","dist":{"shasum":"2ef16a63b688d2280cbda096c37f006644dec0a1","tarball":"https://registry.npmjs.org/coffee-mix/-/coffee-mix-0.0.1.tgz","integrity":"sha512-Z4/zkuyac47Y69KnB0ZAXDG5C6lwiNPSp4xmAsPUPo/em+verxnoBgCOHqSJLUmjGGvKccHDdO5hoV8bJnb31g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWrXgTeOgdvXCD9EEEGcYg4TVDbuxWKBl1gdowxiWU5QIhAKIobvSqeTPv+Q0VlbnoSV3Q9tLbcKS0ORDSEMCix8gE"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"sitin","email":"mikhail.zyatin@gmail.com"},"maintainers":[{"name":"sitin","email":"mikhail.zyatin@gmail.com"}]},"0.0.2":{"name":"coffee-mix","description":"Mixins support for CoffeeScript","version":"0.0.2","keywords":["mixin","coffee-script","oop","mixins","concerns","includes","codo"],"homepage":"https://github.com/Sitin/coffee-mix","author":{"name":"Mikhail Zyatin","email":"mikhail.zyatin@gmail.com","url":"https://twitter.com/vivisjatin/"},"repository":{"type":"git","url":"http://github.com/Sitin/coffee-mix.git"},"engines":{"node":">=0.8.14"},"scripts":{"start":"node index","test":"grunt test","prepublish":"grunt publish"},"dependencies":{},"devDependencies":{"lodash":"~1.0.0","mocha":"~1.8.0","codo":"~1.5.6","grunt":"~0.3.17","grunt-bg-shell":"~1.0.2","grunt-coffee":"~0.0.6","grunt-coffeelint":"0.0.4","grunt-mocha-test":"~0.1.1","grunt-contrib-clean":"~0.3.1","chai":"~1.4.2","chai-spies":"~0.5.1"},"readmeFilename":"README.md","main":"index.js","directories":{"test":"test","doc":"doc"},"license":"MIT","readme":"coffee-mix\n==========\n\nMixins support for CoffeeScript compatible with [Codo](https://github.com/Sitin/coffee-mix/edit/master/README.md)\nand inspired by [The Little Book on CoffeeScript](http://arcturo.github.com/library/coffeescript/03_classes.html).\n\nInstall\n--------\n\n```bash\nnpm install -s coffee-mix\n```\n\nUsage\n------\n\nExtend this class and call it's static and dynamic helpers as shown below.\n\n```coffeescript\n{CoffeeMix} = require 'coffee-mix'\n\n\n# Class mixin\nExtension =\n  classMethod: ->\n  # Method that will be invoked\n  # in class context\n  extended: ->\n\n# Instance mixin\nInclusion =\n  instanceMethod: ->\n  # And this one is for instances\n  # prototype context\n  included: ->\n\n# Class and instance mixin\nConsern =\n  classProperties:\n    classConsern: -> @\n  instanceProperties:\n    instanceConsern: -> @\n  # Will be invoked in class context\n  conserned: ->\n\n# Connectable mixin\nConnection =\n  # This property will be attached\n  # via setter and getter\n  connectionMember: \"connector's member\"\n  # Will be called in mixin context\n  connectionMethod: ->\n  # Will be invoked in instance context\n  connected: ->\n\n\nclass Acceptor extends CoffeeMix\n  @get property: -> @_property\n  @set property: (property) -> @_property = property\n\n  @include Inclusion\n  @extend Extension\n  @consern Consern\n\n  constructor: (connection) ->\n    @$connect connection\n```\n\nLicense\n--------\n(The MIT License)\n\nCopyright (C) 2013 Mikhail Zyatin\nhttps://github.com/Sitin/\nWith contributions by several individuals:\nhttps://github.com/Sitin/node-ovirt/graphs/contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"coffee-mix@0.0.2","dist":{"shasum":"5e2fb5835a74f90e6b9e165417db19e1fb64c04c","tarball":"https://registry.npmjs.org/coffee-mix/-/coffee-mix-0.0.2.tgz","integrity":"sha512-UGhAqjnAttiUl8/mSsuBP4drfb8Hzsbb0kbw7SvZBSXm7cLaBX5N8Q/Ialotp2jBFUUGSIKwnv6pvfc97A+t4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa9J0MJVt8EthlSNLuC+jcp3Ytbs8JVeQFA5ltbmp5IAIgA6cbFpDUXKe5C+VQjUYsh1mN/xz9u2AQObWCgAQk/HE="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"sitin","email":"mikhail.zyatin@gmail.com"},"maintainers":[{"name":"sitin","email":"mikhail.zyatin@gmail.com"}]},"0.0.3":{"name":"coffee-mix","description":"Mixins support for CoffeeScript","version":"0.0.3","keywords":["mixin","coffee-script","oop","mixins","concerns","includes","codo"],"homepage":"https://github.com/Sitin/coffee-mix","author":{"name":"Mikhail Zyatin","email":"mikhail.zyatin@gmail.com","url":"https://twitter.com/vivisjatin/"},"repository":{"type":"git","url":"http://github.com/Sitin/coffee-mix.git"},"engines":{"node":">=0.8.14"},"scripts":{"start":"node index","test":"grunt test","prepublish":"grunt publish"},"dependencies":{},"devDependencies":{"lodash":"~1.0.0","mocha":"~1.8.0","codo":"~1.5.6","grunt":"~0.3.17","grunt-bg-shell":"~1.0.2","grunt-coffee":"~0.0.6","grunt-coffeelint":"0.0.4","grunt-mocha-test":"~0.1.1","grunt-contrib-clean":"~0.3.1","chai":"~1.4.2","chai-spies":"~0.5.1"},"readmeFilename":"README.md","main":"index.js","directories":{"test":"test","doc":"doc"},"license":"MIT","readme":"coffee-mix\n==========\n\nMixins support for CoffeeScript compatible with [Codo](https://github.com/Sitin/coffee-mix/edit/master/README.md)\nand inspired by [The Little Book on CoffeeScript](http://arcturo.github.com/library/coffeescript/03_classes.html).\n\nInstall\n--------\n\n```bash\nnpm install -s coffee-mix\n```\n\nUsage\n------\n\nExtend this class and call it's static and dynamic helpers as shown below.\n\n```coffeescript\n{CoffeeMix} = require 'coffee-mix'\n\n\n# Class mixin\nExtension =\n  classMethod: ->\n  # Method that will be invoked\n  # in class context\n  extended: ->\n\n# Instance mixin\nInclusion =\n  instanceMethod: ->\n  # And this one is for instances\n  # prototype context\n  included: ->\n\n# Class and instance mixin\nConsern =\n  classProperties:\n    classConsern: -> @\n  instanceProperties:\n    instanceConsern: -> @\n  # Will be invoked in class context\n  conserned: ->\n\n# Object mixin\nIntegration =\n  objectMethod: ->\n  # Method that will be invoked\n  # in instance context\n  integrated: ->\n\n# Attachable mixin\nAttachment =\n  # This property will be attached\n  # via setter and getter\n  attachmentMember: \"attachment's member\"\n  # Will be called in mixin context\n  attachmentMethod: ->\n  # Will be invoked in instance context\n  attached: (acceptor) ->\n\n\nclass Acceptor extends CoffeeMix\n  @get property: -> @_property\n  @set property: (property) -> @_property = property\n\n  @include Inclusion\n  @extend Extension\n  @consern Consern\n\n  constructor: (attachment, integration) ->\n    @$attach attachment\n    @$integrate integration\n```\n\nDocumentation\n---------\nYou can find API docs [here](http://coffeedoc.info/github/Sitin/coffee-mix/master/).\n\nLicense\n--------\n(The MIT License)\n\nCopyright (C) 2013 Mikhail Zyatin\nhttps://github.com/Sitin/\nWith contributions by several individuals:\nhttps://github.com/Sitin/coffee-mix/graphs/contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"coffee-mix@0.0.3","dist":{"shasum":"8e01f00b723b1664064571566ed2cc2736ba1a98","tarball":"https://registry.npmjs.org/coffee-mix/-/coffee-mix-0.0.3.tgz","integrity":"sha512-jjjFc7ND/v3NCNcsnD6dNKqz9o11KIFr9tAhUSAYdYuNUepsN9PNmgdOoscKBSRrpgpRX59yBitnjPDGx0BjIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClv+EFbDF++YrEcx0GENBpdabNu4S9PQzTjzgCJzzLJwIhAO8CcNPFalzGPNh6oy7gVnz3nqEcv/izbm5zFW1Fr1TQ"}]},"_npmVersion":"1.1.65","_npmUser":{"name":"sitin","email":"mikhail.zyatin@gmail.com"},"maintainers":[{"name":"sitin","email":"mikhail.zyatin@gmail.com"}]},"0.0.4":{"name":"coffee-mix","description":"Mixins support for CoffeeScript","version":"0.0.4","keywords":["mixin","coffee-script","oop","mixins","concerns","includes","codo"],"homepage":"https://github.com/Sitin/coffee-mix","author":{"name":"Mikhail Zyatin","email":"mikhail.zyatin@gmail.com","url":"https://twitter.com/vivisjatin/"},"repository":{"type":"git","url":"http://github.com/Sitin/coffee-mix.git"},"engines":{"node":">=0.8.14"},"scripts":{"start":"node index","test":"grunt test","prepublish":"grunt publish"},"dependencies":{},"devDependencies":{"lodash":"~1.0.0","mocha":"~1.8.0","codo":"~1.5.6","grunt":"~0.3.17","grunt-bg-shell":"~1.0.2","grunt-coffee":"~0.0.6","grunt-coffeelint":"0.0.4","grunt-mocha-test":"~0.1.1","grunt-contrib-clean":"~0.3.1","chai":"~1.4.2","chai-spies":"~0.5.1"},"readmeFilename":"README.md","main":"index.js","directories":{"test":"test","doc":"doc"},"license":"MIT","readme":"coffee-mix\n==========\n\nMixins support for CoffeeScript compatible with [Codo](https://github.com/Sitin/coffee-mix/edit/master/README.md)\nand inspired by [The Little Book on CoffeeScript](http://arcturo.github.com/library/coffeescript/03_classes.html).\n\nInstall\n--------\n\n```bash\nnpm install -s coffee-mix\n```\n\nUsage\n------\n\nExtend this class and call it's static and dynamic helpers as shown below.\n\n```coffeescript\n{CoffeeMix} = require 'coffee-mix'\n\n\n# Class mixin\nExtension =\n  classMethod: ->\n  # Method that will be invoked\n  # in class context\n  extended: ->\n\n# Instance mixin\nInclusion =\n  instanceMethod: ->\n  # And this one is for instances\n  # prototype context\n  included: ->\n\n# Class and instance mixin\nConsern =\n  classProperties:\n    classConsern: -> @\n  instanceProperties:\n    instanceConsern: -> @\n  # Will be invoked in class context\n  conserned: ->\n\n# Object mixin\nIntegration =\n  objectMethod: ->\n  # Method that will be invoked\n  # in instance context\n  integrated: ->\n\n# Attachable mixin\nAttachment =\n  # This property will be attached\n  # via setter and getter\n  attachmentMember: \"attachment's member\"\n  # Will be called in mixin context\n  attachmentMethod: ->\n  # Will be invoked in instance context\n  attached: (acceptor) ->\n\n\nclass Acceptor extends CoffeeMix\n  @get property: -> @_property\n  @set property: (property) -> @_property = property\n\n  @include Inclusion\n  @extend Extension\n  @consern Consern\n\n  constructor: (attachment, integration) ->\n    @$attach attachment\n    @$integrate integration\n```\n\nDocumentation\n---------\nYou can find API docs [here](http://coffeedoc.info/github/Sitin/coffee-mix/master/).\n\nLicense\n--------\n(The MIT License)\n\nCopyright (C) 2013 Mikhail Zyatin\nhttps://github.com/Sitin/\nWith contributions by several individuals:\nhttps://github.com/Sitin/coffee-mix/graphs/contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"coffee-mix@0.0.4","dist":{"shasum":"4750960a483fbb2b7019c42211e3608fc7263d1a","tarball":"https://registry.npmjs.org/coffee-mix/-/coffee-mix-0.0.4.tgz","integrity":"sha512-/4qPP3c8WTZpGIclXZ864fB8j6LGBkrBLJEkP9o7AJ6zh6igdUIm7dvA88LYDFzDa8kI+KZ9YDu3LujuMSsFPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFfEJfuymnWnRtcLtSSV3THcb/OXuweEr05RB9pTPnHwIgJWJrrVd3wkwypzgt8/qmkFwK+g8mshgVZQnqJ1d/2qQ="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"sitin","email":"mikhail.zyatin@gmail.com"},"maintainers":[{"name":"sitin","email":"mikhail.zyatin@gmail.com"}]},"0.0.5":{"name":"coffee-mix","description":"Mixins support for CoffeeScript","version":"0.0.5","keywords":["mixin","coffee-script","oop","mixins","concerns","includes","codo"],"homepage":"https://github.com/Sitin/coffee-mix","author":{"name":"Mikhail Zyatin","email":"mikhail.zyatin@gmail.com","url":"https://twitter.com/vivisjatin/"},"repository":{"type":"git","url":"http://github.com/Sitin/coffee-mix.git"},"engines":{"node":">=0.8.14"},"scripts":{"start":"node index","test":"grunt test","prepublish":"grunt publish"},"dependencies":{},"devDependencies":{"lodash":"~1.0.0","mocha":"~1.8.0","codo":"~1.5.6","grunt":"~0.4.0","grunt-bg-shell":"~2.0.1","grunt-contrib-coffee":"~0.5.0","grunt-coffeelint":"~0.0.6","grunt-mocha-test":"~0.2.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-watch":"~0.3.1","grunt-contrib-copy":"~0.4.0","grunt-notify":"~0.1.4","browserify":"~2.4.2","chai":"~1.4.2","chai-spies":"~0.5.1"},"readmeFilename":"README.md","main":"index.js","directories":{"test":"test","doc":"doc"},"license":"MIT","readme":"coffee-mix\n==========\n\nMixins support for CoffeeScript compatible with [Codo](https://github.com/Sitin/coffee-mix/edit/master/README.md)\nand inspired by [The Little Book on CoffeeScript](http://arcturo.github.com/library/coffeescript/03_classes.html).\n\nInstall\n--------\n\n```bash\nnpm install -s coffee-mix\n```\n\nUsage\n------\n\nExtend this class and call it's static and dynamic helpers as shown below.\n\n```coffeescript\n{CoffeeMix} = require 'coffee-mix'\n\n\n# Class mixin\nExtension =\n  classMethod: ->\n  # Method that will be invoked\n  # in class context\n  extended: ->\n\n# Instance mixin\nInclusion =\n  instanceMethod: ->\n  # And this one is for instances\n  # prototype context\n  included: ->\n\n# Class and instance mixin\nConsern =\n  classProperties:\n    classConsern: -> @\n  instanceProperties:\n    instanceConsern: -> @\n  # Will be invoked in class context\n  conserned: ->\n\n# Object mixin\nIntegration =\n  objectMethod: ->\n  # Method that will be invoked\n  # in instance context\n  integrated: ->\n\n# Attachable mixin\nAttachment =\n  # This property will be attached\n  # via setter and getter\n  attachmentMember: \"attachment's member\"\n  # Will be called in mixin context\n  attachmentMethod: ->\n  # Will be invoked in instance context\n  attached: (acceptor) ->\n\n\nclass Acceptor extends CoffeeMix\n  # Bind property helpers to current class\n  get = => @get arguments...\n  set = => @set arguments...\n\n  # Define properties\n  @get property: -> @_property\n  @set property: (property) -> @_property = property\n\n  @include Inclusion\n  @extend Extension\n  @consern Consern\n\n  constructor: (attachment, integration) ->\n    @$attach attachment\n    @$integrate integration\n```\n\nDocumentation\n---------\nYou can find API docs [here](http://coffeedoc.info/github/Sitin/coffee-mix/master/).\n\nLicense\n--------\n(The MIT License)\n\nCopyright (C) 2013 Mikhail Zyatin\nhttps://github.com/Sitin/\nWith contributions by several individuals:\nhttps://github.com/Sitin/coffee-mix/graphs/contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"coffee-mix@0.0.5","dist":{"shasum":"a1f0c695c2c8cc49ad66d9462757ef3ab8c77e24","tarball":"https://registry.npmjs.org/coffee-mix/-/coffee-mix-0.0.5.tgz","integrity":"sha512-GoCV4iPtknv19ajTE86UXr9JkneqHheE4RlX45GhdoEmvCeceKGtrjBgLMjRNm5/d85utt5iVxw1Ie078OEh2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/K+pVD1WhvdEOo0n4zlnaV5gtum53sSKA1h5wd6Ao/AiAYr3Ks3wp92et4O8Jk4fSqlmtNjvlBzSSrPkWys5F5QA=="}]},"_from":".","_npmVersion":"1.2.4","_npmUser":{"name":"sitin","email":"mikhail.zyatin@gmail.com"},"maintainers":[{"name":"sitin","email":"mikhail.zyatin@gmail.com"}]},"0.0.6":{"name":"coffee-mix","description":"Mixins support for CoffeeScript","version":"0.0.6","keywords":["mixin","coffee-script","oop","mixins","concerns","includes","codo"],"homepage":"https://github.com/Sitin/coffee-mix","author":{"name":"Mikhail Zyatin","email":"mikhail.zyatin@gmail.com","url":"https://twitter.com/vivisjatin/"},"repository":{"type":"git","url":"http://github.com/Sitin/coffee-mix.git"},"engines":{"node":">=0.8.14"},"scripts":{"start":"node index","test":"grunt test","prepublish":"grunt publish"},"dependencies":{},"devDependencies":{"lodash":"~1.0.0","mocha":"~1.8.0","codo":"~1.5.6","grunt":"~0.4.0","grunt-bg-shell":"~2.0.1","grunt-contrib-coffee":"~0.5.0","grunt-coffeelint":"~0.0.6","grunt-mocha-test":"~0.2.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-watch":"~0.3.1","grunt-contrib-copy":"~0.4.0","grunt-notify":"~0.1.4","browserify":"~2.4.2","chai":"~1.4.2","chai-spies":"~0.5.1"},"readmeFilename":"README.md","main":"index.js","directories":{"test":"test","doc":"doc"},"license":"MIT","readme":"coffee-mix\n==========\n\nMixins support for CoffeeScript compatible with [Codo](https://github.com/Sitin/coffee-mix/edit/master/README.md)\nand inspired by [The Little Book on CoffeeScript](http://arcturo.github.com/library/coffeescript/03_classes.html).\n\nInstall\n--------\n\n```bash\nnpm install -s coffee-mix\n```\n\nUsage\n------\n\nExtend this class and call it's static and dynamic helpers as shown below.\n\n```coffeescript\n{CoffeeMix} = require 'coffee-mix'\n\n\n# Class mixin\nExtension =\n  classMethod: ->\n  # Method that will be invoked\n  # in class context\n  extended: ->\n\n# Instance mixin\nInclusion =\n  instanceMethod: ->\n  # And this one is for instances\n  # prototype context\n  included: ->\n\n# Class and instance mixin\nConsern =\n  classProperties:\n    classConsern: -> @\n  instanceProperties:\n    instanceConsern: -> @\n  # Will be invoked in class context\n  conserned: ->\n\n# Object mixin\nIntegration =\n  objectMethod: ->\n  # Method that will be invoked\n  # in instance context\n  integrated: ->\n\n# Attachable mixin\nAttachment =\n  # This property will be attached\n  # via setter and getter\n  attachmentMember: \"attachment's member\"\n  # Will be called in mixin context\n  attachmentMethod: ->\n  # Will be invoked in instance context\n  attached: (acceptor) ->\n\n\nclass Acceptor extends CoffeeMix\n  # Bind property helpers to current class\n  get = => @get arguments...\n  set = => @set arguments...\n\n  # Define properties\n  @get property: -> @_property\n  @set property: (property) -> @_property = property\n\n  @include Inclusion\n  @extend Extension\n  @consern Consern\n\n  constructor: (attachment, integration) ->\n    @$attach attachment\n    @$integrate integration\n```\n\nDocumentation\n---------\nYou can find API docs [here](http://coffeedoc.info/github/Sitin/coffee-mix/master/).\n\nLicense\n--------\n(The MIT License)\n\nCopyright (C) 2013 Mikhail Zyatin\nhttps://github.com/Sitin/\nWith contributions by several individuals:\nhttps://github.com/Sitin/coffee-mix/graphs/contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"coffee-mix@0.0.6","dist":{"shasum":"d774b532bc4144f661794c080441e6ff2ff2f3f7","tarball":"https://registry.npmjs.org/coffee-mix/-/coffee-mix-0.0.6.tgz","integrity":"sha512-Z4x4AOwb1FuAHKU59OYFqNLqvZbblay7w1ibrI18PPEdGcxDBO/4gb+zCiwCIJScR1/ME146MoZb8cMQIFOnYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAv0xU7pIv1ys0s71IXyznQMpsgwKsPpjuusdIMvtzBQIgEFi02ycQad5yisW75uQObQtktcjHu1AxU1hsxLgKi4c="}]},"_from":".","_npmVersion":"1.2.4","_npmUser":{"name":"sitin","email":"mikhail.zyatin@gmail.com"},"maintainers":[{"name":"sitin","email":"mikhail.zyatin@gmail.com"}]},"0.0.7":{"name":"coffee-mix","description":"Mixins support for CoffeeScript","version":"0.0.7","keywords":["mixin","coffee-script","oop","mixins","concerns","includes","codo"],"homepage":"https://github.com/Sitin/coffee-mix","author":{"name":"Mikhail Zyatin","email":"mikhail.zyatin@gmail.com","url":"https://twitter.com/vivisjatin/"},"repository":{"type":"git","url":"http://github.com/Sitin/coffee-mix.git"},"engines":{"node":">=0.8.14"},"scripts":{"start":"node index","test":"grunt test","prepublish":"grunt publish"},"dependencies":{},"devDependencies":{"lodash":"~1.0.0","mocha":"~1.8.0","codo":"~1.5.6","grunt":"~0.4.0","grunt-bg-shell":"~2.0.1","grunt-contrib-coffee":"~0.5.0","grunt-coffeelint":"~0.0.6","grunt-mocha-test":"~0.2.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-watch":"~0.3.1","grunt-contrib-copy":"~0.4.0","grunt-notify":"~0.1.4","browserify":"~2.4.2","chai":"~1.4.2","chai-spies":"~0.5.1"},"readmeFilename":"README.md","main":"index.js","directories":{"test":"test","doc":"doc"},"license":"MIT","readme":"coffee-mix\n==========\n\nMixins support for CoffeeScript compatible with [Codo](https://github.com/Sitin/coffee-mix/edit/master/README.md)\nand inspired by [The Little Book on CoffeeScript](http://arcturo.github.com/library/coffeescript/03_classes.html).\n\nInstall\n--------\n\n```bash\nnpm install -s coffee-mix\n```\n\nUsage\n------\n\nExtend this class and call it's static and dynamic helpers as shown below.\n\n```coffeescript\n{CoffeeMix} = require 'coffee-mix'\n\n\n# Class mixin\nExtension =\n  classMethod: ->\n  # Method that will be invoked\n  # in class context\n  extended: ->\n\n# Instance mixin\nInclusion =\n  instanceMethod: ->\n  # And this one is for instances\n  # prototype context\n  included: ->\n\n# Class and instance mixin\nConsern =\n  classProperties:\n    classConsern: -> @\n  instanceProperties:\n    instanceConsern: -> @\n  # Will be invoked in class context\n  conserned: ->\n\n# Object mixin\nIntegration =\n  objectMethod: ->\n  # Method that will be invoked\n  # in instance context\n  integrated: ->\n\n# Attachable mixin\nAttachment =\n  # This property will be attached\n  # via setter and getter\n  attachmentMember: \"attachment's member\"\n  # Will be called in mixin context\n  attachmentMethod: ->\n  # Will be invoked in instance context\n  attached: (acceptor) ->\n\n\nclass Acceptor extends CoffeeMix\n  # Bind property helpers to current class\n  get = => @get arguments...\n  set = => @set arguments...\n\n  # Define properties\n  @get property: -> @_property\n  @set property: (property) -> @_property = property\n\n  @include Inclusion, 'Inclusion options'\n  @extend Extension, 'Extension options'\n  @consern Consern, 'Consern options'\n\n  constructor: (attachment, integration) ->\n    @$attach attachment, 'Attachment options'\n    @$integrate integration, 'Integration options'\n```\n\nDocumentation\n---------\nYou can find API docs [here](http://coffeedoc.info/github/Sitin/coffee-mix/master/).\n\nLicense\n--------\n(The MIT License)\n\nCopyright (C) 2013 Mikhail Zyatin\nhttps://github.com/Sitin/\nWith contributions by several individuals:\nhttps://github.com/Sitin/coffee-mix/graphs/contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"coffee-mix@0.0.7","dist":{"shasum":"2e62c4ea708d1a75ade7cc8abfdb074485345dab","tarball":"https://registry.npmjs.org/coffee-mix/-/coffee-mix-0.0.7.tgz","integrity":"sha512-jZPH/tSFu2sZPaK03VqGlzQ7ZRfL5qvggcPh+QEanqJCFQq5EbdXduNArtsCiNgkGxishjRFFAnnb5LiKoPk5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3cAS6ukDv4A5eCIbwWtP81BZy8o4OZJM/bBDTR2O0RAiEAprDEAf9hbvRIgEw+L6TT5WW17B0UvYrzrDSOLM85fCQ="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"sitin","email":"mikhail.zyatin@gmail.com"},"maintainers":[{"name":"sitin","email":"mikhail.zyatin@gmail.com"}]}},"readme":"coffee-mix\n==========\n\nMixins support for CoffeeScript.","maintainers":[{"name":"sitin","email":"mikhail.zyatin@gmail.com"}],"time":{"modified":"2022-06-13T06:27:43.611Z","created":"2013-03-01T14:59:25.544Z","0.0.1":"2013-03-01T14:59:28.169Z","0.0.2":"2013-03-04T15:59:25.613Z","0.0.3":"2013-03-05T11:14:18.369Z","0.0.4":"2013-03-05T11:20:32.797Z","0.0.5":"2013-03-12T20:40:18.124Z","0.0.6":"2013-03-12T22:09:04.612Z","0.0.7":"2013-03-13T12:02:38.786Z"},"author":{"name":"Mikhail Zyatin","email":"mikhail.zyatin@gmail.com","url":"https://twitter.com/vivisjatin/"},"repository":{"type":"git","url":"http://github.com/Sitin/coffee-mix.git"}}