tree: 19ec6b45827be8762364b2be4ec81e697169bcf3 [path history] [tgz]
  1. test/
  2. .npmignore
  3. component.json
  4. History.md
  5. index.js
  6. Makefile
  7. package.json
  8. Readme.md
node_modules/component-inherit/Readme.md

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

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

inherit(Woman, Human);

License

MIT