sindresorhus / text-extensions
List of text file extensions
☆55Updated 5 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 11 months 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
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if a file path is a binary file☆44Updated 11 months 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
- Convert a URL to a valid filename☆77Updated last year
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- Get the default browser☆54Updated last year
- Make a function mimic another one☆94Updated 5 months ago
- Detect whether a terminal emulator supports hyperlinks☆56Updated 2 months ago
- List of video file extensions☆58Updated 11 months ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Strip the final newline character from a string/buffer☆36Updated 5 months ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Extract the article title of a HTML document☆54Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Map of nouns to their irregular plural form☆88Updated 11 months ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 10 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Indent each line in a string☆113Updated 2 years ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 8 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Write a package.json file☆88Updated 8 months ago
- Check if a string has ANSI escape codes☆46Updated 9 months ago
- Compare URLs by first normalizing them☆67Updated last year