npm.io
1.0.1 • Published 10 years ago

polyinherit

Licence
MIT
Version
1.0.1
Deps
2
Vulns
0
Weekly
0

Polyinherit

Modifies the function prototype for the possibility of using multiple inheritance

Usage inherit

function() { }.inherit(somefunc1, somefunc2)

Usage proto

function() { }.proto({
  someMethod: function() { }
});

Keywords