xprezzo-mixin
v1.1.2
Published
Implementation of setting the prototype of an instianted object
Downloads
2,799
Readme
xprezzo-mixin
An implementation of setting the prototype of an instianted object.
usage
$ npm install --save xprezzo-mixin
const mixin = require('xprezzo-mixin')
let obj = {}
mixin(obj, {
foo: function () {
return 'bar'
}
})
obj.foo() // bar
People
Xprezzo and related projects are maintained by Cloudgen Wong.