Need private packages and team management tools?Check out npm Teams »

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

Keywords

none

Install

npm i component-inherit

DownloadsWeekly Downloads

3,411,378

Version

0.0.3

License

none

Last publish

Collaborators

  • avatar