inherits-browser
A inherits fork that is safe per default to use in browsers
Last updated 2 years ago by nikku .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install inherits-browser 
SYNC missed versions from official npm registry.

inherits-browser

A inherits@2 fork that is safe per default to use in browsers.

Usage

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

Current Tags

  • 0.1.0                                ...           latest (2 years ago)

2 Versions

  • 0.1.0                                ...           2 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |