Search results
347 packages found
Find the module object for something that was require()d
Sanitize a string for use as a filename
Convert a string to a valid safe filename
Unique file name with streams support
make ESM a bit more commonJS
ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder
Pollyfill for node.js `path.parse`, parses a filepath into an object.
- absolute
- basename
- dir
- directory
- dirname
- ext
- extension
- extname
- file
- filename
- filepath
- is-absolute
- name
- object
- View more
Modify the filename in a path
Slugify a string
- string
- slugify
- slug
- url
- url-safe
- urlify
- transliterate
- transliteration
- deburr
- unicode
- ascii
- text
- decamelize
- pretty
- View more
Write string/buffer/stream to a random temp file
Check if a string is a valid filename
Sanitize a string for use as a filename truncate and whitespace options
Eslint rule for consistent filenames.
Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
Regular expression for matching file names, with or without extension.
Regular expression for matching reserved filename characters
ESM replacements for __dirname and __filename.
Pull versioning from a file and add it to the filename.
Parse file names of tv show episodes.
Get the extensions of executable file names as glob pattern or regular expression
- require
- module
- js
- coffee
- coffeescript
- literate
- pattern
- glob
- find
- file
- file name
- filename
- execute
- executable
- View more