chain-args

0.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i chain-args

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • jasperwoudenberg