# oop-utils

> Some utilies for oop in Javascript

Latest version **0.2.3** (published 2014-08-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install oop-utils
pnpm add oop-utils
yarn add oop-utils
bun add oop-utils
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.3 |
| Published | 2014-08-07 |
| First published | 2014-03-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tim Smart |
| Maintainers | tim-smart |
| Keywords | oop, extends, utils |

## Links

- npm: https://www.npmjs.com/package/oop-utils
- Repository: https://github.com/tim-smart/node-oop-utils
- Issues: https://github.com/tim-smart/node-oop-utils/issues
- npm.io page: https://npm.io/package/oop-utils

## Recent versions

- 0.2.3 (latest) — 2014-08-07
- 0.2.2 — 2014-05-19
- 0.2.1 — 2014-05-15
- 0.2.0 — 2014-04-02
- 0.1.0 — 2014-03-14

## README

# oop-utils

## Usage

```javascript
var oop = require('oop-utils')

function Parent () {}
Parent.SOME_THING = 123
Parent.prototype.method = function method () {
  console.log('method from parent')
  return this
}

function Child () {
}

var proto = oop.inherits(Child, Parent)

proto.method = function childMethod () {
  this._super.method.call(this)
  console.log('method from child', Child.SOME_THING)
  return this
}

// --

var child = new Child
child.method()
```

The console will now have:

    method from parent
    method from child 123

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