Search results

367 packages found

Find the module object for something that was require()d

published version 2.0.1, 2 years ago945 dependents licensed under $ISC
111,912,619

Regular expression for matching reserved filename characters

published version 3.0.0, 3 years ago64 dependents licensed under $MIT
20,064,443

Pollyfill for node.js `path.parse`, parses a filepath into an object.

published version 1.0.2, 7 years ago197 dependents licensed under $MIT
24,915,455

Convert a string to a valid safe filename

published version 6.0.0, 2 years ago454 dependents licensed under $MIT
20,332,553

Regular expression for matching file names, with or without extension.

published version 2.0.1, 8 years ago198 dependents licensed under $MIT
14,797,270

Slugify a string

published version 2.2.1, 2 years ago516 dependents licensed under $MIT
5,566,809

Sanitize a string for use as a filename

published version 1.6.3, 5 years ago1309 dependents licensed under $WTFPL OR ISC
8,956,472

Unique file name with streams support

published version 2.0.2, 5 years ago16 dependents licensed under $MIT
5,774,808

Write data to a random temporary file

published version 6.0.0, 4 months ago246 dependents licensed under $MIT
3,372,806

Regular expression to detect an extended-length path.

published version 0.2.2, 4 months ago1 dependents licensed under $Apache-2.0
1,777,693

Eslint rule for consistent filenames.

published version 1.3.2, 6 years ago298 dependents licensed under $MIT
1,848,909

Temporary files, directories or names!

published version 0.9.9, 9 years ago8 dependents licensed under $MIT
1,477,330

ESLint rules for consistent filename and folder. Allows you to enforce a consistent naming pattern for the filename and folder

published version 2.8.0, 8 months ago46 dependents licensed under $Apache-2.0
1,046,180

A regular expression that matches a CHANGELOG filename

published version 2.0.1, 6 years ago44 dependents licensed under $ISC
936,029

Convert a URL to a valid filename

published version 3.1.0, a year ago53 dependents licensed under $MIT
540,679

Get the basename of a filepath excluding extension.

published version 0.1.0, 9 years ago11 dependents licensed under $MIT
347,079

Create a revved file path

published version 3.0.0, 3 years ago80 dependents licensed under $MIT
313,557

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

published version 1.0.0, 5 years ago2 dependents licensed under $MIT
306,844

Modify the filename in a path

published version 2.0.0, 3 years ago123 dependents licensed under $MIT
487,474

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.

published version 2.0.1, 5 years ago1 dependents licensed under $MIT
305,576