Regular expression for matching mapcodes
published version 3.0.0, 3 years agoClear a module from the `require` cache
published version 3.0.0, 6 years agoCheck if your code is running as an npm script
published version 6.0.0, 3 years ago- For arrays: https://github.com/stream-utils/stream-to-array - For strings: https://github.com/stream-utils/raw-body
published version 2.0.0, 10 years agoParse a cookie for use in PhantomJS
published version 2.0.0, 6 years agoConvert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
published version 3.0.0, 3 years agoStrip console and debugger statements from JavaScript code
published version 3.0.0, 7 months agoStrip comments from JSON. Lets you use comments in your JSON files!
published version 3.0.0, 7 months agoEscape a string for use in AppleScript
published version 3.0.0, 4 years agoConvert seconds to a human readable string: 165392 → 1d 21h 56m 32s
published version 1.0.1, 9 years agoCheck whether a package name is available on npm and bower
published version 2.0.0, 6 years agoCheck whether a RegExp flag is supported
published version 2.0.0, 3 years agoInvert the key/value of an object. Example: `{foo: 'bar'}` → `{bar: 'foo'}`
published version 4.2.0, 3 years agoPlatform conditional utility for cross-platform Titanium apps
published version 1.0.1, 7 years ago