Extend Multiple Classes
Ever wanted to extend from multiple classes in Javascript? well now you can.
Usage
const classes = ; A B C
Method missing:
const classes = ; A B C { super; } { console; } const test = ; test;// 'somethingThatIsNonExistent()' is missing!
MethodMissing is included in the stack, see method-missing.
Check out the test folder for more!
Installation
$ npm install extends-classes
Features
- Extend multiple es6 classes.
- Simple and light-weight.
- Includes MethodMissing.
- Written in ES6+ for node.js 6+.
- Clean solution to extending from multiple classes.
Options
If you don't like the naming, just change it when requiring.
const many = ; A B C // class stuff.
Tests
From the package
$ npm test