# es6-class-util

> Utilities for composing classes when using ES6.

Latest version **0.1.0** (published 2015-05-05) · 0 weekly downloads

## Install

```sh
npm install es6-class-util
pnpm add es6-class-util
yarn add es6-class-util
bun add es6-class-util
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-05-05 |
| First published | 2015-01-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | bholloway |

## Links

- npm: https://www.npmjs.com/package/es6-class-util
- npm.io page: https://npm.io/package/es6-class-util

## Recent versions

- 0.1.0 (latest) — 2015-05-05
- 0.0.1 — 2015-01-20

## README

#es6-class-util

Utilities for composing classes when using ES6.

## Usage

```
npm install es6-class-util --save
```

### bind(canididate)

Bind all methods and accessors of the given candidate to itself (in-place) and return the candidate.

Designed for use in **babeljs** constructor, where the candidate is `this`.

### extend(destination, ...sources)

Copy the members, both values and accessors, from the `source` objects to the `destination` object.

First-in wins; existing members on the `destination` are **not** overwritten.

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