0.2.0 • Published 10 years ago
chain-args v0.2.0
Chain Args
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);