Wait for a condition to be true
Repository Index
47,133 repositories indexed
169–192 of 241 · Most stars
Ensure a function is only called once
Find the closest package.json file
Round a number to a specific number of decimal places: 1.234 → 1.2
Precompile Nunjucks templates
- javascript
- nunjucks
- precompile
- gulp-plugin
Strip leading whitespace from each line in a string
Get the name of the current operating system. Example: macOS Sierra
Reliably get the terminal window size
[[I'm slow at replying these days, but I hope to get back to answering questions eventually]] Ask me anything!
- ama
- ask-me-anything
- question-answering
- meta
Get the username of the current user
Empty the trash
Tap into a promise chain without affecting its value or state
Compose promise-returning & async functions into a reusable pipeline
Add stdin support to any CLI app that accepts file input
:dog: Get popular dog names
Strip comments from CSS
Generate random numbers that are consecutively unique
Get namespaced config from the closest package.json
Get supervillain names
Indent each line in a string
Check if something is a Node.js stream
Toggle the CLI cursor
Strip UTF-8 byte order mark (BOM) from a string
Run Jasmine tests in Node.js
- gulp-plugin
- nodejs
- javascript
- jasmine