<a target="_blank" href="https://getunicorn.io"><img src="https://bitbucket-assetroot.s3.amazonaws.com/c/photos/2017/Jul/07/2615006260-5-nitsnetsstudios-ondemand-UNI_avatar.png" align="left"></a>
unicorn-components
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
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!
User-friendly glob matching
Simple wildcard matching
A collection of essential TypeScript types
Clean up error stack traces
A safer `.hasOwnProperty()`
A stricter URI encode adhering to RFC 3986
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