Showing 1-20 of 20,634 packages
Sanitize a string for use as a filename
Regular expression for matching reserved filename characters
shim for require.main.filename() that works in as many environments as possible
Regular expression for matching file names, with or without extension.
Convert a string to a valid safe filename
Generate a unique filename for use in temporary directories or caches.
Easily read/write JSON files.
Write files in an atomic fashion w/configurable ownership
Modify the filename in a path
Create and parse Content-Disposition header
Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
Return the filename and line number of the calling function
Check if a string is a valid filename
A regular expression that matches a CHANGELOG filename
Webpack loader that adjusts source maps
Find the module object for something that was require()d
Return the filename and line number of the calling function
Check if a filename is safe to use in a path join operation
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.
picgo amazon s3 uploader