260 packages found

M
Q
P

Description

Sanitize a string for use as a filename

Keywords

Publisher

published 1.6.2-12 years ago
M
Q
P

Description

Sanitize a string for use as a filename, fix for number file name

Keywords

Publisher

published 1.0.1a year ago
M
Q
P

Description

Check if a file or directory is writable.

Keywords

Publisher

published 2.0.0a month ago
M
Q
P

Description

Finds a unique filename using incremental values

Keywords

Publisher

published 1.1.23 years ago
M
Q
P

Description

Class wrapper for interacting with file paths.

Keywords

Publisher

published 2.0.24 years ago
M
Q
P

Description

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.

Keywords

Publisher

published 2.0.1a year ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.0a year ago
M
Q
P

Description

Check if a string is a valid filename

Keywords

Publisher

published 3.1.0a year ago
M
Q
P

Description

normalize file name for sort

Keywords

Publisher

published 1.0.2423 days ago
M
Q
P

Description

Pull metadata from the filename to avoid duplicate entry.

Keywords

Publisher

published 1.3.03 years ago
M
Q
P

Description

fs.stat With Path Included To Callback Result

Keywords

Publisher

published 1.1.33 years ago
M
Q
P

Description

Generates unique filename

Keywords

Publisher

published 2.0.12 years ago
M
Q
P

Description

Validate that file names match given globs

Keywords

Publisher

published 2.0.24 years ago
M
Q
P

Description

A helper module to simplify life when dealing with file names. Basically, it allows you to use a simple pattern to edit file names.

Keywords

Publisher

published 1.0.06 years ago
M
Q
P

Description

Converts a string into a slug safe for URLs and filenames. Supports Latin, Greek and Cyrillic scripts.

Keywords

Publisher

published 3.0.019 days ago
M
Q
P

Description

Convert strings to valid filenames or filepaths

Keywords

Publisher

published 1.0.1a year ago
M
Q
P
M
Q
P

Description

Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`

Keywords

Publisher

published 2.1.0a year ago
M
Q
P

Description

A regular expression that matches a CHANGELOG filename

Keywords

Publisher

published 2.0.12 years ago
M
Q
P

Description

Filter items in a Metalsmith collection.

Keywords

Publisher

published 1.0.33 years ago