node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

inherit-component

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');
 
function Animal() {}
function Pet() {}
 
inherit(Animal, Pet);

License

MIT