utildot
line saving javascript inheritence.
inherits(constructor, constructor, super)
- grab a super constructor
- apply it to some child constructors using a variadic version of
util.inherits
- the last parameter given is the super constructor
- any number of constructors given sooner inherit from a prototype of the super constructor
instead of doing this:
var util = ;var EventEmitter = EventEmitter; util;util; {}{}
just do:
var util = util; {}{}//... inherit down to any number of constructors passed before the superCtor
install:
$ npm i utildot
test:
$ npm t