# extends-classes

> Extend from multiple classes!

Latest version **1.0.5** (published 2017-03-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install extends-classes
pnpm add extends-classes
yarn add extends-classes
bun add extends-classes
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2017-03-31 |
| First published | 2017-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.0.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27 |
| Author | Jarrad Seers |
| Maintainers | jarradseers |
| Keywords | extends, extend, multiple, es6, classes, class |

## Links

- npm: https://www.npmjs.com/package/extends-classes
- Repository: https://github.com/jarradseers/extends-classes
- Homepage: https://github.com/jarradseers/extends-classes#readme
- Issues: https://github.com/jarradseers/extends-classes/issues
- npm.io page: https://npm.io/package/extends-classes

## Dependencies (1)

- [method-missing](https://npm.io/package/method-missing.md) ^1.1.2

## Recent versions

- 1.0.5 (latest) — 2017-03-31
- 1.0.4 — 2017-03-30
- 1.0.3 — 2017-03-30
- 1.0.2 — 2017-03-30
- 1.0.0 — 2017-03-29

## README

# Extend Multiple Classes

  Ever wanted to extend from multiple classes in Javascript? well now you can.

## Usage

```js
const classes = require('extends-classes');

class Test extends classes (A, B, C) {
}
```

Method missing:

```js
const classes = require('extends-classes');

class Test extends classes (A, B, C) {
  constructor() {
    super();
  }

  __call(method, args) {
    console.log(`'${method}()' is missing!`);
  }
}

const test = new Test();

test.somethingThatIsNonExistent();
// 'somethingThatIsNonExistent()' is missing!
```

MethodMissing is included in the stack, see [method-missing](https://www.npmjs.com/package/method-missing).

Check out the [test folder](test) for more!

## Installation

```bash
$ 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.

```js
const many = require('extends-classes');

class Test extends many (A, B, C) {
  // class stuff.
}
```

## Tests

  From the package 

  ```bash
  $ npm test
  ```

## License

  [MIT](LICENSE)

---
_Source: https://npm.io/package/extends-classes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
