# inherits-browser

> A inherits fork that is safe per default to use in browsers

Latest version **0.1.0** (published 2022-08-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install inherits-browser
pnpm add inherits-browser
yarn add inherits-browser
bun add inherits-browser
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-08-11 |
| First published | 2022-04-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nico Rehwaldt |
| Maintainers | nikku |
| Keywords | inherits |

## Links

- npm: https://www.npmjs.com/package/inherits-browser
- Repository: https://github.com/nikku/inherits-browser
- Homepage: https://github.com/nikku/inherits-browser#readme
- Issues: https://github.com/nikku/inherits-browser/issues
- npm.io page: https://npm.io/package/inherits-browser

## Recent versions

- 0.1.0 (latest) — 2022-08-11
- 0.0.1 — 2022-04-06

## README

# inherits-browser

A [inherits@2](https://www.npmjs.com/package/inherits) fork that is safe per default to use in browsers.


## Usage

```javascript
import inherits from 'inherits-browser';

function Parent() {}

function Child() {
  Parent.call(this);
}

inherits(Child, Parent);
```


## Why

* Do not require `package.json#browser`; always be browser compatible
* Target modern run-times (IE9+, other browsers + NodeJS) only

## License

ISC

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