Search results

368 packages found

Unique file name with streams support

published version 2.0.2, 5 years ago16 dependents licensed under $MIT
5,633,924

Regular expression to detect an extended-length path.

published version 0.2.2, 5 months ago1 dependents licensed under $Apache-2.0
1,655,798

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

published version 2.0.1, 2 years ago952 dependents licensed under $ISC
91,476,761

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

published version 1.0.2, 7 years ago198 dependents licensed under $MIT
23,100,274

Regular expression for matching reserved filename characters

published version 3.0.0, 3 years ago64 dependents licensed under $MIT
18,480,268

Convert a string to a valid safe filename

published version 6.0.0, 2 years ago454 dependents licensed under $MIT
18,794,734

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

published version 2.0.1, 8 years ago198 dependents licensed under $MIT
10,251,577

Sanitize a string for use as a filename

published version 1.6.3, 5 years ago1313 dependents licensed under $WTFPL OR ISC
8,689,167

Slugify a string

published version 2.2.1, 2 years ago516 dependents licensed under $MIT
5,485,544

Write data to a random temporary file

published version 6.0.0, 5 months ago246 dependents licensed under $MIT
3,082,105

Temporary files, directories or names!

published version 0.9.9, 9 years ago8 dependents licensed under $MIT
1,484,661

Eslint rule for consistent filenames.

published version 1.3.2, 7 years ago297 dependents licensed under $MIT
1,673,951

A regular expression that matches a CHANGELOG filename

published version 2.0.1, 6 years ago44 dependents licensed under $ISC
887,520

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
958,712

Convert a URL to a valid filename

published version 3.1.0, a year ago53 dependents licensed under $MIT
372,081

Get the basename of a filepath excluding extension.

published version 0.1.0, 9 years ago11 dependents licensed under $MIT
357,718

Create a revved file path

published version 3.0.0, 3 years ago80 dependents licensed under $MIT
311,829

Modify the filename in a path

published version 2.0.0, 3 years ago123 dependents licensed under $MIT
473,019

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
286,689

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
285,790