csextends

Use the Coffee-Script extends keyword outside of Coffee-Script. Useful for easily extending existing existing classes, e.g. `require('csextends')(klass, extensions)`, and for providing your module consumers with an easy way to extend your classes, i.e. `B

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
csextends
301.2.05 years ago9 years agoMinified + gzip package size for csextends in KB

Readme


Coffee-Script Extends



Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
Patreon donate button Open Collective donate button Flattr donate button PayPal donate button Bitcoin donate button Wishlist browse button
Slack community badge


Use the Coffee-Script extends keyword outside of Coffee-Script. Useful for easily extending existing existing classes, e.g. require('csextends')(klass, extensions), and for providing your module consumers with an easy way to extend your classes, i.e. Backbone.Model.extend(extensions).

Usage

Check out the interactive code snippet for usage here.

Install


NPM

  • Install: npm install --save csextends
  • Module: require('csextends')

Browserify

  • Install: npm install --save csextends
  • Module: require('csextends')
  • CDN URL: //wzrd.in/bundle/csextends@1.2.0

Ender

  • Install: ender add csextends
  • Module: require('csextends')

Editions


This package is published with the following editions:


  • csextends/source/index.coffee is Source + CoffeeScript + Require
  • csextends aliases csextends/es5/index.js
  • csextends/es5/index.js is CoffeeScript Compiled + ES5 + Require



History


Discover the release history by heading on over to the HISTORY.md file.


Contribute


Discover how you can contribute by heading on over to the CONTRIBUTING.md file.


Backers


Maintainers


These amazing people are maintaining this project:

Sponsors


No sponsors yet! Will you be the first?
Patreon donate button Open Collective donate button Flattr donate button PayPal donate button Bitcoin donate button Wishlist browse button

Contributors


These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.


License


Unless stated otherwise all works are:

and licensed under: