xprezzo-mixin

    1.1.2 • Public • Published

    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.

    License

    MIT

    Install

    npm i xprezzo-mixin

    DownloadsWeekly Downloads

    10

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    2.79 kB

    Total Files

    5

    Last publish

    Collaborators

    • xprezzo