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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i kd-inherits

      Weekly Downloads

      1

      Version

      0.1.1

      License

      MIT

      Last publish

      Collaborators

      • sinan