Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Repository Index
47,133 repositories indexed
121–144 of 194 · Most stars
Get the gzipped size of a file or stdin
Open the GitHub page of the given or current directory repo
Markdown to HTML
Check whether a package or organization name is available on npm
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Wait for a condition to be true
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
Get the username of the current user
Empty the trash
Tap into a promise chain without affecting its value or state
Add stdin support to any CLI app that accepts file input
:dog: Get popular dog names
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