Some useful utilities I often need
Repeat a string - fast
Regular expression for matching semver versions
More than 100 powerful ESLint rules
Get, set, or delete a property from a nested object using a dot path
Make a directory and its parents if needed - Think `mkdir -p`
Check if argv has a specific flag
Strip leading whitespace from each line in a string
Check if a value is a regular expression
Create boxes in the terminal
Define a lazily evaluated property on an object
Strip comments from JSON. Lets you use comments in your JSON files!
Simple wildcard matching
A collection of essential TypeScript types
A stricter URI encode adhering to RFC 3986
A safer `.hasOwnProperty()`
Clean up error stack traces
Automatically bind methods to their class instance
Get the path of the caller function
Filter an array of objects to a specific OS
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
Truncate a string to a specific width in the terminal
Simple config handling for your app or module
Hook and modify stdout and stderr
Middleware for timing out current unicorn worker if request takes to long time.
Save log when Unicorn timeout
Graceful handling of requests which are reaching the timeout limit to avoid SIGKILL
Unicorn, but with patch for h12 timeouts on heroku