component-inherit

Prototype inheritance utility

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
component-inherit
0.0.39 years ago9 years agoMinified + gzip package size for component-inherit in KB

Readme

inherit
Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

function Human() {}
function Woman() {}

inherit(Woman, Human);

License

MIT