p-state
kNow
p-state | kNow | |
---|---|---|
2 | 4 | |
126 | 25 | |
- | - | |
5.1 | 0.0 | |
about 2 months ago | over 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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.
p-state
-
Inspect the state of a JavaScript promise
It's only the synchronous method that doesn't work in the browser, and it's because only Node.js has the required API to synchronously inspect the Promise state: https://github.com/sindresorhus/p-state/blob/5ea9b33185106c3ac6016901501d87f97dae6237/index.js#L19-L23
kNow
What are some alternatives?
get-all-files - ⚡ A blazing fast recursive directory crawler with lazy sync and async iterator support.
two-step-auth - This is a NPM package that helps in verifying OTP sent through mail
modclean - Remove unwanted files and directories from your node_modules folder
p-queue - Promise queue with concurrency control
is-hotkey - Check whether a browser event matches a hotkey.
emittery - Simple and modern async event emitter
citgm - Canary in the Gold Mine
batchelor - A lovely little Node.js module to perform batch requests with the Google REST API
Rando.js - The world's easiest, most powerful random function.
eslint-plugin-node - Additional ESLint's rules for Node.js
eager_return_js - JS Proposal -- Please open an issue for discussions -- https://github.com/bacloud23/eager_return_js/wiki/Call-stack-in-programming-languages