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:
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Check if argv has a specific flag☆96Updated 4 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Regular expression for matching reserved filename characters☆52Updated 4 months ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Get the path of the parent module☆79Updated 4 months ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 4 months ago
- Check if your package was installed globally☆71Updated 2 years ago
- Get a random temporary file path☆81Updated this week
- Check if a string matches the name of a Node.js builtin module☆63Updated 11 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Get the fullname of the current user☆48Updated 2 years ago
- Check if a string is HTML☆95Updated 4 months ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- Check if a URL is absolute☆80Updated 4 months ago
- Regular expression for matching issue references☆49Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 months ago
- Get metadata on the default editor or a specific editor☆55Updated 4 months ago
- Generate a unique random string☆89Updated 3 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆85Updated 4 months ago
- Lazy number range generator☆83Updated 2 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Simple wildcard matching☆34Updated 4 months ago
- Randomize the order of items in an array☆110Updated 4 months ago