@jswork/next-to-action
v1.0.1
Published
Make an action callback for target.
Downloads
293
Readme
next-to-action
Make an action callback for target.
installation
npm install -S @jswork/next-to-action
usage
import '@jswork/next-to-action';
const trimer = nx.toAction('trim');
const list = [
' a',
'b ',
' c '
];
const res = list.map(trimer);
// ['a','b','c'];
license
Code released under the MIT license.