chain-me

Make an object chainable

chain-me

npm

$ npm install chain-me

component

$ component install jwerle/chain-me

Wrap an object and all void functions return this instead of undefined

var chain = require('chain-me')
 
chain(obj)
.method(foo)
.action(bar)
.end(fn);

MIT