js-st

0.1.2 • Public • Published

js-st

it's not novel or complicated, but:

const st = require('js-st');
const seed = "";
const step = v => v + "a";
const isDone = v => v.length == 5;
const completer = v => v.toUpperCase();
st(seed, step, isDone, completer); // 'AAAAA'

Readme

Keywords

Package Sidebar

Install

npm i js-st

Weekly Downloads

0

Version

0.1.2

License

WTFPL

Last publish

Collaborators

  • swizzard