component-inherit

0.0.3 • Public • Published

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');
 
function Human() {}
function Woman() {}
 
inherit(Woman, Human);

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i component-inherit

      Weekly Downloads

      1,281,979

      Version

      0.0.3

      License

      none

      Last publish

      Collaborators

      • coreh