inherit-component

0.0.2 • Public • Published

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

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

License

MIT

/inherit-component/

    Package Sidebar

    Install

    npm i inherit-component

    Weekly Downloads

    18

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • defunctzombie
    • jongleberry
    • dominicbarnes
    • tootallnate
    • tjholowaychuk
    • rauchg
    • retrofox
    • coreh
    • forbeslindesay
    • kelonye
    • mattmueller
    • yields
    • anthonyshort
    • ianstormtaylor
    • cristiandouce
    • swatinem
    • stagas
    • amasad
    • juliangruber
    • calvinfo