kd-inherits

0.1.1 • Public • Published

inherits

inherit the prototype methods from one or more constructors into another.

install

npm i kd-inherits --save

usage

Foo = ->
Foo::qux = -> 'qux'
 
Bar = ->
Bar::quux = -> 'quux'
 
Baz = ->
 
inherits Baz::, Bar, Foo

license

The MIT License (MIT)

Copyright (c) 2014 Koding hello@koding.com

/kd-inherits/

    Package Sidebar

    Install

    npm i kd-inherits

    Weekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • sinan