Make a directory and its parents if needed - Think `mkdir -p`
Some useful utilities I often need
Repeat a string - fast
Get, set, or delete a property from a nested object using a dot path
More than 100 powerful ESLint rules
Strip leading whitespace from each line in a string
Check if argv has a specific flag
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
Capitalize every word in a string: `unicorn cake` → `Unicorn Cake`
Filter an array of objects to a specific OS
Truncate a string to a specific width in the terminal
Simple config handling for your app or module
Hook and modify stdout and stderr
Filter an array of objects to a specific OS
unicorn is an HTTP server for Rack applications that has done decades of damage to the entire Ruby ecosystem due to its ability to tolerate (and thus encourage) bad code. It is only designed to handle fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients must only be served by placing a reverse proxy capable of fully buffering both the the request and response in between unicorn and slow clients.
Contains a unicorn namespace with methods for starting stopping and maintaining the unicorn server to serve the rails app.