sindresorhus / date-timeLinks
Pretty UTC datetime: `2014-01-09 0601`
☆32Updated 3 years ago
Alternatives and similar repositories for date-time
Users that are interested in date-time are comparing it to the libraries listed below
Sorting:
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if the process is running with elevated privileges☆42Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated last year
- Check if a value is a regular expression☆25Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Check if a Buffer/Uint8Array is a GIF image☆29Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆61Updated 2 months ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆62Updated last year
- Check if your package was installed globally☆69Updated 2 years ago
- Check if argv has a specific flag☆94Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Regular expression for matching reserved filename characters☆51Updated 2 months ago
- Check if a path is inside another path☆39Updated 2 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Wait for a specified number of promises to be fulfilled☆38Updated 2 months ago
- Slice a string with ANSI escape codes☆50Updated 2 months ago
- Get a random key from an object☆17Updated last year
- Get metadata on the default editor or a specific editor☆53Updated 2 months ago
- Callback wrapping utility☆56Updated last year
- Create a MD5 hash with hex encoding☆46Updated 2 years ago
- Clone and modify a RegExp instance☆23Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago