Search results
355 packages found
Sanitize a string for use as a filename
Find the module object for something that was require()d
Unique file name with streams support
Convert a string to a valid safe filename
Babel plugin to replace extension of file name written in import statement and dynamic import
Babel plugin to replace extension of file name written in import statement and dynamic import
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
Babel plugin to replace extension of file name written in import statement and dynamic import
Slugify a string
- string
- slugify
- slug
- url
- url-safe
- urlify
- transliterate
- transliteration
- deburr
- unicode
- ascii
- text
- decamelize
- pretty
- View more
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
Regular expression to detect an extended-length path.
Smart and effective path truncation.
Generate a unique string (e.g. for filenames or url slugs) using an incremental counter
A tiny isomorphic ESM alternative to Node's __filename global.
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
- __dirname
- __filename
- commonjs
- deno
- deno-edition
- deno-entry
- denoland
- directory
- dirname
- ecmascript
- es2022
- es5
- esm
- export-default
- View more
Get the current line number of the executing file and method
- browser
- debug
- debugging
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- es5
- export-default
- file
- filename
- line
- line number
- View more
retext plugin to classify url-like values as syntax, not natural language
Finds a unique filename using incremental values
Parse file names of tv show episodes.