block-stream
A stream of fixed-size blocks (by isaacs)
pify
Promisify a callback-style function (by sindresorhus)
Our great sponsors
block-stream | pify | |
---|---|---|
1 | 2 | |
52 | 1,497 | |
- | - | |
10.0 | 0.0 | |
over 7 years ago | over 1 year ago | |
JavaScript | JavaScript | |
ISC 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.
block-stream
Posts with mentions or reviews of block-stream.
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.
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 block-stream and pify you can also consider the following projects:
lowercase-keys - Lowercase the keys of an object
Bluebird - :bird: :zap: Bluebird is a full featured promise library with unmatched performance.
pinkie-promise - Promise ponyfill with pinkie
promise-memoize - Memoize promise-returning functions. Includes cache expire and prefetch.
valvelet - Limit the execution rate of a function
p-map - Map over promises concurrently
rfpify - [DEPRECATED] Promisify a result-first callback function.
delay - Delay a promise a specified amount of time
iterum - Handling iterables like lazy arrays.
promise-breaker - Helps you write libraries that accept both promises and callbacks.
OF - 🍬 Promise wrapper with sugar 🍬
matchbook-ts - pattern matching in javascript & typescript made easy