$ gnpm install inherits-browser
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);
package.json#browser
; always be browser compatibleISC
Copyright 2013 - present © cnpmjs.org | Home |