filenamify

Filename cleaner

Converts a string to a valid filename by replacing reserved characters and truncating long names.

Convert a string to a valid safe filename

GitHub

489 stars
9 watching
26 forks
Language: JavaScript
last commit: over 1 year ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/valid-filename Checks whether a given string is a valid filename 59
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/unused-filename A utility that generates unique file names by appending numbers to existing filenames. 141
sindresorhus/move-file Moves files across devices and partitions without relying on system-specific rename functions. 198
sindresorhus/npm-user Extracts user data from an npm user's profile page 57
sindresorhus/gulp-strip-debug Removes console statements from JavaScript code to strip debugging information 251
sindresorhus/del-cli A utility for permanently deleting files and directories with optional safety features. 315
sindresorhus/npm-name A utility to check if package or organization names are available on npm. 168
sindresorhus/npm-name-cli Checks package or organization name availability on npm 285
sindresorhus/to-readable-stream Converts a string or binary data into a stream for piping to other tools 90
sindresorhus/humanize-url Makes URLs easier to read by removing trailing slashes and some subdomain information. 250
sindresorhus/npm-run-path Prepends a user's PATH with local binaries 104
sindresorhus/string-length Corrects string length counting by ignoring astral symbols and ANSI escape codes. 162
sindresorhus/decamelize Converts camel-cased strings into lowercased ones with a custom separator 238
sindresorhus/file-type-cli Detects the type of file or input provided 74