Name Last Update
..
test Loading commit data...
.npmignore Loading commit data...
History.md Loading commit data...
Makefile Loading commit data...
Readme.md Loading commit data...
component.json Loading commit data...
index.js Loading commit data...
package.json Loading commit data...

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

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

inherit(Woman, Human);

License

MIT