BrunoSS 's Projects
Check if something is a float
ES2015 Number.isInteger() ponyfill
ES2015 Number.isNaN() ponyfill
Node.js Open CLI Framework. Built with š by Heroku.
Watch an object or array for changes
Ensure a function is only called once
Open stuff like URLs, files, executables. Cross-platform.
š Awesome list of open source applications for macOS. https://t.me/opensourcemacosapps
Elegant terminal spinner
Function argument validation for humans
Run promise-returning & async functions concurrently with optional limited concurrency
Wait for any promise to be fulfilled
Break out of a promise chain
Create a promise that can be canceled
Conditional promise catch handler
Debounce promise-returning & async functions
Create a deferred promise
Calls a function repeatedly while a condition returns true and then resolves the promise
Iterate over promises serially
Promisify an event by waiting for it to be emitted
`Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome
Run promise-returning & async functions repeatedly until you end it
Conditional promise chains
Returns a promise resolved in the next event loop - think `setImmediate()`
Check if something is a promise
Create a lazy promise that defers execution until it's awaited or when .then() or .catch() is called
Run multiple promise-returning & async functions with limited concurrency
Log the value/error of a promise
Map over promises concurrently
Map over promises serially