valid-filename

Filename validator

Checks whether a given string is a valid filename

Check if a string is a valid filename

GitHub

59 stars
6 watching
7 forks
Language: JavaScript
last commit: over 3 years ago

Related projects:

Repository Description Stars
sindresorhus/filenamify Converts a string to a valid filename by replacing reserved characters and truncating long names. 489
sindresorhus/npm-name-cli Checks package or organization name availability on npm 285
sindresorhus/npm-name A utility to check if package or organization names are available on npm. 168
sindresorhus/is-observable Tool to check if a value is an Observable 39
sindresorhus/is-up Checks whether a website is functioning correctly or not. 388
sindresorhus/string-length Corrects string length counting by ignoring astral symbols and ANSI escape codes. 162
sindresorhus/yn A utility for parsing yes/no like values with optional typo tolerance 266
sindresorhus/is-up-cli Check website availability using an API 360
sindresorhus/is-elevated Checks if a process is running with elevated privileges 41
parro-it/is-fqdn Verifies if a given string represents a valid fully qualified domain name 21
sindresorhus/to-readable-stream Converts a string or binary data into a stream for piping to other tools 90
sindresorhus/file-type-cli Detects the type of file or input provided 74
sindresorhus/any-observable Supports any Observable library and provides polyfills 70
sindresorhus/del Deletes files and directories using glob patterns with support for promises, multiple files, and protection against deleting the current working directory. 1,325
sindresorhus/npm-run-path Prepends a user's PATH with local binaries 104