sindresorhus / text-extensions
List of text file extensions
☆55Updated 3 months ago
Alternatives and similar repositories for text-extensions:
Users that are interested in text-extensions are comparing it to the libraries listed below
- Detect the dominant newline character of a string☆55Updated last year
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Check if a string is a URL☆85Updated last year
- Check if a file path is a binary file☆44Updated 9 months ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- Detect whether a terminal emulator supports hyperlinks☆55Updated 2 weeks ago
- Check if a path is a file, directory, or symlink☆78Updated 6 months ago
- List of binary file extensions☆81Updated 9 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 3 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 10 months ago
- Stylelint shareable config for XO☆41Updated 8 months ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Remove leading, trailing and repeated whitespace from a string☆39Updated 3 years ago
- Simple wildcard matching☆34Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Check if a file path is a text file☆18Updated 9 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Make a function mimic another one☆94Updated 3 months ago
- Get the default browser☆54Updated last year
- Truncate a string to a specific width in the terminal☆86Updated last year
- Get a random item from an array☆57Updated 2 years ago
- Get the version of a binary in semver format☆42Updated 10 months ago