sindresorhus / text-extensions
List of text file extensions
☆55Updated 6 months ago
Alternatives and similar repositories for text-extensions:
Users that are interested in text-extensions are comparing it to the libraries listed below
- List of binary file extensions☆82Updated this week
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Check if a file path is a binary file☆44Updated last year
- Check if a string is a URL☆85Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Remove leading, trailing and repeated whitespace from a string☆39Updated 3 years ago
- Detect whether a terminal emulator supports hyperlinks☆56Updated 3 months ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if your package was installed globally☆70Updated last year
- Get the default browser☆55Updated last year
- Easily handle defaults for your options☆74Updated last year
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Convert a URL to a valid filename☆77Updated last year
- Extract the article title of a HTML document☆54Updated 3 years ago
- Make a function mimic another one☆94Updated 6 months ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get a random item from an array☆57Updated 3 years ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Get the path to an app (macOS)☆63Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Slice a string with ANSI escape codes☆47Updated 11 months ago
- Strip the final newline character from a string/buffer☆36Updated 6 months ago