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☆48Updated 2 years ago
- Filter object keys and values into a new object☆104Updated last year
- Create an array with values that are present in the first input array but not additional ones☆38Updated 4 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated this week
- Strip the final newline character from a string/buffer☆36Updated 10 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Regular expression for matching reserved filename characters☆50Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Mimic a Node.js HTTP response stream☆59Updated last year
- Get the path of the parent module☆78Updated last year
- Check if a string matches the name of a Node.js builtin module☆61Updated 6 months ago
- Check if a URL is absolute☆79Updated this week
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Check if a string or buffer is SVG☆141Updated 2 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Lax URL parsing with support for protocol-less URLs and IPs☆53Updated last week
- Lazy number range generator☆81Updated last year
- Simple wildcard matching☆34Updated this week
- Regular expression for matching issue references☆49Updated 11 months ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆54Updated this week
- Replace all substring matches in a string☆88Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Get metadata on the default editor or a specific editor☆53Updated this week
- Get the fullname of the current user☆47Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆128Updated last week