sindresorhus / date-time
Pretty UTC datetime: `2014-01-09 0601`
☆31Updated 2 years ago
Alternatives and similar repositories for date-time:
Users that are interested in date-time are comparing it to the libraries listed below
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Slice a string with ANSI escape codes☆47Updated 7 months ago
- Check if a path is inside another path☆37Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a path is the current working directory☆19Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 2 months ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated 9 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if a Buffer/Uint8Array is a GIF image☆28Updated 2 years ago
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Resolve the path of a globally installed module☆41Updated last year
- Trim newlines from the start and/or end of a string☆48Updated last year
- Check if a filepath is a video file☆31Updated 8 months ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Get a random key from an object☆18Updated 6 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 9 months ago
- Get the remote origin URL of a Git repository☆45Updated 3 years ago
- Check if a path is a file, directory, or symlink☆77Updated 5 months ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Simple wildcard matching☆34Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Check if a file path is a binary file☆44Updated 8 months ago
- Check if something is a promise☆46Updated 3 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- A safer `.hasOwnProperty()`☆30Updated last year