Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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,416,372

Version

0.0.3

License

none

Last publish

Collaborators

  • avatar