0.2.0 • Published 10 years ago

chain-args v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

Chain Args

NPM version Code Climate

Chain Args allows you to take a function you'd usually call like this:

setOptions({
    color: 'blue',
    amount: 8
    loud: true
});

And change it to a function you can call like this:

setOptions2()
    .color('blue')
    .amount(8)
    .loud(true);
0.2.0

10 years ago

0.1.0

10 years ago