sindresorhus / valid-filenameLinks
Check if a string is a valid filename
☆63Updated 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
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Check if argv has a specific flag☆96Updated 4 years ago
- Check if a URL is absolute☆80Updated 3 months ago
- Regular expression for matching reserved filename characters☆52Updated 3 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Get the path of the parent module☆79Updated 3 months ago
- Get a random temporary file path☆81Updated 2 years ago
- Get the fullname of the current user☆48Updated 2 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Mimic a Node.js HTTP response stream☆61Updated 2 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 3 months ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Indent each line in a string☆114Updated 3 years ago
- Check if your package was installed globally☆70Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 3 months ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Ensures a value is a valid error by making it one if not☆84Updated 3 months ago
- Randomize the order of items in an array☆109Updated 3 months ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆144Updated 3 months ago
- Check if a string is HTML☆95Updated 3 months ago
- Lax URL parsing with support for protocol-less URLs and IPs☆55Updated 3 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Lazy number range generator☆82Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago