sindresorhus / valid-filename
Check if a string is a valid filename
☆61Updated 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
- Trim newlines from the start and/or end of a string☆48Updated last year
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Get the fullname of the current user☆47Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Simple wildcard matching☆34Updated 3 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Check if a string is HTML☆95Updated last year
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Check if a URL is absolute☆79Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 weeks ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Lazy number range generator☆81Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 11 months ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Detect whether a terminal emulator supports hyperlinks☆55Updated last month
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- url.parse() with support for protocol-less URLs & IPs☆52Updated 3 years ago
- Check if a string is a URL☆85Updated last year
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago