Get namespaced config from the closest package.json
created at Sept. 2, 2015, 10:19 a.m.
Compose promise-returning & async functions into a reusable pipeline
created at Oct. 21, 2016, 5:01 a.m.
Strip comments from CSS
created at Oct. 22, 2014, 10:28 p.m.
Add stdin support to any CLI app that accepts file input
created at June 18, 2014, 2:02 p.m.
Catch Objective-C exceptions in Swift
created at Jan. 4, 2020, 1:27 p.m.
Tap into a promise chain without affecting its value or state
created at Oct. 21, 2016, 7:01 a.m.
Strip leading whitespace from each line in a string
created at March 29, 2014, 2:15 p.m.
Generate sparklines ▁▂▃▅▂▇
created at Dec. 6, 2015, 7:42 p.m.
Reliably get the terminal window size
created at Sept. 9, 2016, 4:06 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.
Get an available port
created at Oct. 26, 2015, 2:40 p.m.
Get the name of the current operating system. Example: macOS Sierra
created at June 7, 2014, 10:51 p.m.
Get the username of the current user
created at March 30, 2014, 6:12 p.m.
Precompile Nunjucks templates
created at Dec. 30, 2013, 12:54 p.m.
Wait for a condition to be true
created at Oct. 21, 2016, 6:52 a.m.
Find the closest package.json file
created at Sept. 21, 2015, 9:55 a.m.
Round a number to a specific number of decimal places: 1.234 → 1.2
created at Aug. 13, 2015, 6:37 p.m.