A inherits@2 fork that is safe per default to use in browsers.
import inherits from 'inherits-browser';
function Parent() {}
function Child() {
Parent.call(this);
}
inherits(Child, Parent);
- Do not require
package.json#browser
; always be browser compatible - Target modern run-times (IE9+, other browsers + NodeJS) only
ISC