2.5.0 • Published 6 years ago
@naturalcycles/promise-lib v2.5.0
@naturalcycles/promise-lib
Useful promise functions, inspired by Bluebird, p-map, p-props
Why
bluebirdis outdatedp-propsrequires separate@types/p-propswhich has issues- Both
p-mapandp-propsdoexport default, which is not IDE-friendly. IDEs don't automatically suggest to import these functions
Features
- First-class Typescript support, typings included and working
- IDE-friendly, IDE automatically suggest to import from proper place
- Bundled as
es2018, with native async/await, no transpilation - Based (almost copy-pasted) on battle-tested implementations (
p-map), tests included
API
pMappBatchpFilterpPropspDelaypHangpState- returns the current state of the Promise, one ofresolved | rejected | pending.pDefer
2.5.0
6 years ago
2.4.0
6 years ago
2.3.0
7 years ago
2.2.0
7 years ago
2.1.2
7 years ago
2.1.1
7 years ago
2.1.0
7 years ago
2.0.0
7 years ago
1.0.10
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago