@omriazr/promises
v1.5.4
Published
This setup compiles Typescript to ESM for the Node.js runtime. It's super-fast. it uses *`swc`* for the actual compiling. *`tsc`* is used for type checking only. nodemon allows us to re-compile and run from dist with every change during developme
Downloads
3
Maintainers
Readme
Node.js TS
@Promises/omriazr
re-implement promises methods:
delay ( Bluebird Promise.delay)
all ( native Promise.all )
props ( Bluebird Promise.all )
each ( Bluebird Promise.each )
mapParallel ( Bluebird Promise.map - without the concurrency feature...)
mapSeries ( Bluebird Promise.mapSeries - without the concurrency feature...)
filter * ( Bluebird Promise.filter ) --> implement twice --> filterParallel and filterSeries reduce ( Bluebird Promise.reduce ) race ( native Promise.race ) some ( Bluebird Promise.some )