concise-promise
v0.2.1
Published
a library to make working with Promise chain more concise
Readme
concise-promise
A library to make working with Promise chain more concise
to begin
npm i concise-promiseuse case
When I was using simple-git to write a handy utility, I was doing like:
git.add(...).then(git.commit).then(git.push)I think that's pretty verbose, can I just do this instead?
git.add(...).commit(...).push()So I started this experimental lib and try if I can improve this in limited senarios.
examples
Please see test cases
