pinkie-promise
Promise ponyfill with pinkie (by floatdrop)
pify
Promisify a callback-style function (by sindresorhus)
Our great sponsors
pinkie-promise | pify | |
---|---|---|
1 | 2 | |
119 | 1,497 | |
- | - | |
0.0 | 0.0 | |
almost 6 years ago | over 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pinkie-promise
Posts with mentions or reviews of pinkie-promise.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Imagine a 5-years-old code like this on production
Like this? https://www.npmjs.com/package/pinkie-promise
pify
Posts with mentions or reviews of pify.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-12.
-
My theory on why so many people are bad at coding.
What's probably got your shorts in a knot is the contents of the node_modules directory. That directory is a cache for mode.js modules so the tutorial can function standalone without having to install anything else. Treat it as you would object code. I pulled a half-dozen of those modules at random and went to their repositories. Every one of them had unit tests: block-stream, graceful-fs, lowercase-keys, minimist, pify and safe-buffer. Nobody sane ships unit tests with their executables.
-
what's your hidden gem package?
Not sure it’s hidden but I really like pify to promisify things, really cleaned up my multer calls.
What are some alternatives?
When comparing pinkie-promise and pify you can also consider the following projects:
Bluebird - :bird: :zap: Bluebird is a full featured promise library with unmatched performance.
promise-memoize - Memoize promise-returning functions. Includes cache expire and prefetch.
p-map - Map over promises concurrently
valvelet - Limit the execution rate of a function
delay - Delay a promise a specified amount of time
rfpify - [DEPRECATED] Promisify a result-first callback function.
matchbook-ts - pattern matching in javascript & typescript made easy