chain-me

v0.0.1
Make an object chainable
chain object fluent

chain-me

install

npm

$ npm install chain-me

component

$ component install jwerle/chain-me

usage

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);

license

MIT

npm i chain-me

Metadata

  • MIT
  • Whatever
  • Joseph Werle
  • released 1/21/2014

Downloads

Maintainers