Search results
367 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Find the module object for something that was require()d
Regular expression for matching reserved filename characters
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
Convert a string to a valid safe filename
Regular expression for matching file names, with or without extension.
Slugify a string
- string
- slugify
- slug
- url
- url-safe
- urlify
- transliterate
- transliteration
- deburr
- unicode
- ascii
- text
- decamelize
- pretty
- View more
Sanitize a string for use as a filename
Unique file name with streams support
Write data to a random temporary file
Regular expression to detect an extended-length path.
Eslint rule for consistent filenames.
Temporary files, directories or names!
ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder
A regular expression that matches a CHANGELOG filename
- regex
- regexp
- file
- filename
- name
- log
- changelog
- change-log
- updates
- releases
- release-history
- history
- releasenote
- match
- View more
Convert a URL to a valid filename
Get the basename of a filepath excluding extension.
Create a revved file path
When copying or moving files, it's common for operating systems to automatically add an increment or 'copy' to duplicate file names. This does that for Node.js applications, with automatic platform detection and support for Linux, MacOs, and Windows conve
Modify the filename in a path
Operating systems commonly add a trailing increment, or the word 'copy', or something similar to duplicate files. This strips those increments. Tested on Windows, MacOS, and Linux.