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
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 2 months ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 8 months ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- Get the fullname of the current user☆47Updated last year
- Check if your package was installed globally☆70Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 7 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Check if a URL is absolute☆78Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Lazy number range generator☆82Updated last year
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Import a globally installed module☆57Updated last year
- Simple wildcard matching☆34Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Get the path of the parent module☆77Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated last year
- Indent each line in a string☆113Updated 2 years ago
- The score badge service for https://npms.io☆35Updated 6 years ago
- Create a readable Node.js stream that produces no data (or optionally blank data) or a writable stream that discards data☆52Updated last year
- Truncate a string to a specific width in the terminal☆86Updated last year