sindresorhus / valid-filenameLinks
Check if a string is a valid filename
☆62Updated 4 years ago
Alternatives and similar repositories for valid-filename
Users that are interested in valid-filename are comparing it to the libraries listed below
Sorting:
- Filter object keys and values into a new object☆105Updated last year
- Check if argv has a specific flag☆96Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Strip the final newline character from a string/buffer☆38Updated last year
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Check if a URL is absolute☆80Updated 3 months ago
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Get a random temporary file path☆81Updated 2 years ago
- Check if a string is HTML☆95Updated 4 months ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Get the fullname of the current user☆48Updated 2 years ago
- Lazy number range generator☆83Updated 2 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 4 months ago
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- Regular expression for matching issue references☆49Updated last year
- Create an array without duplicates☆74Updated 4 years ago
- Detect whether a terminal emulator supports hyperlinks☆55Updated 11 months ago
- Get metadata on the default editor or a specific editor☆55Updated 4 months ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Lax URL parsing with support for protocol-less URLs and IPs☆55Updated 4 months ago
- Conditional promise chains☆63Updated 4 years ago