Find a file or directory by walking up parent directories
created at Sept. 1, 2015, 7:12 a.m.
Promisify a callback-style function
created at Aug. 29, 2015, 8:13 a.m.
Parse JSON with more helpful errors
created at Aug. 25, 2015, 2:11 p.m.
Remove or replace part of a string like Array#splice
created at Aug. 19, 2015, 6:27 p.m.
Get the gzipped size of a file or stdin
created at Aug. 17, 2015, 3:53 p.m.
A better `npm publish`
created at Aug. 16, 2015, 9:06 a.m.
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
created at Aug. 16, 2015, 8:27 a.m.
ANSI escape codes for manipulating the terminal
created at Aug. 14, 2015, 3:23 p.m.
Test your internet connection speed and ping using speedtest.net from the CLI
created at Aug. 13, 2015, 7:28 p.m.
Round a number to a specific number of decimal places: 1.234 → 1.2
created at Aug. 13, 2015, 6:37 p.m.
Strip comments from CSS
created at Aug. 10, 2015, 9:11 a.m.
Filter object keys and values into a new object
created at Aug. 10, 2015, 5:42 a.m.
Get the visual width of a string - the number of columns required to display it
created at July 16, 2015, 10:05 p.m.
Parse text columns, like the output of unix commands. Returns JSON that you can manipulate with tools like jq or underscore-cli.
created at July 7, 2015, 1:15 p.m.
Kill all Chrome tabs to improve performance, decrease battery usage, and save memory
created at July 5, 2015, 10:11 p.m.
[[I'm slow at replying these days, but I hope to get back to answering questions eventually]] Ask me anything!
created at July 1, 2015, 11:56 a.m.
Open stuff like URLs, files, executables. Cross-platform.
created at June 29, 2015, 6:15 p.m.
Generate a random float
created at June 26, 2015, 10:27 p.m.