sindresorhus / valid-filenameLinks
Check if a string is a valid filename
☆62Updated 3 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:
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Get the extension of a given filename or path☆30Updated 7 years ago
- Filter object keys and values into a new object☆101Updated last year
- Get the latest stable semver version from an array of versions☆47Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆47Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Check if a URL is absolute☆79Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Get the fullname of the current user☆47Updated last year
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Check if a string is a URL☆85Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 4 years ago
- Check if a file path is an image☆94Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Simple wildcard matching☆34Updated 3 years ago
- Get the current package's binary path☆36Updated this week
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- A better `Promise.race()`☆46Updated 2 years ago