Search results
371 packages found
Find the module object for something that was require()d
ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder
Write data to a random temporary file
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
Sanitize a string for use as a filename
Regular expression to detect an extended-length path.
Regular expression for matching reserved filename characters
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
Generate archive metadata and directories for Metalsmith collections.
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
Node.js loader for import specifiers as file paths without extensions or as directory paths
Offset items in a Metalsmith collection.
A module to bring back `__dirname` and `__filename` within 2 lines of code.
Eslint rule for consistent filenames.
Unique file name with streams support
this is smart package
Regular expression for matching file names, with or without extension.
Node.js loader for import specifiers as file paths without extensions or as directory paths
- --experimental-specifier-resolution
- specifier-resolution
- node
- nodejs
- module
- loader
- resolver
- resolution
- esm
- es6
- esnext
- ecmascript
- extension
- filename
- View more
ESLint plugin validate filename.