950,293 packages matching “file path”
is-binary-path
v3.0.0 · 2 years ago
Check if a file path is a binary file
No known vulnerabilities
file-uri-to-path
v2.0.0 · 6 years ago
Convert a file: URI to a file path
No known vulnerabilities
tempfile
v6.0.1 · 6 months ago
Get a random temporary file path
No known vulnerabilities
is-text-path
v3.0.0 · 2 years ago
Check if a file path is a text file
No known vulnerabilities
is-unc-path
v1.0.0 · 9 years ago
Returns true if a filepath is a windows UNC file path.
No known vulnerabilities
unc-path-regex
v0.1.2 · 10 years ago
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
No known vulnerabilities
is-invalid-path
v1.0.2 · 8 years ago
Returns true if a windows file path has invalid characters.
No known vulnerabilities
glob-to-regex.js
v1.2.0 · 10 months ago
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
No known vulnerabilities
rev-path
v3.0.0 · 4 years ago
Create a revved file path
No known vulnerabilities
contains-path
v1.0.0 · 9 years ago
Return true if a file path contains the given path.
No known vulnerabilities
is-valid-path
v0.1.1 · 11 years ago
Returns true if a file path does not contain any invalid characters.
No known vulnerabilities
file-url
v4.0.0 · 5 years ago
Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
No known vulnerabilities
to-file
v0.2.0 · 10 years ago
Convert a file path to a vinyl file.
No known vulnerabilities
is-image
v4.0.0 · 3 years ago
Check if a file path is an image
No known vulnerabilities
normalize-path
v3.0.0 · 8 years ago
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
No known vulnerabilities
expand-tilde
v2.0.2 · 9 years ago
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
No known vulnerabilities
resolve-file
v0.3.0 · 9 years ago
Resolve an absolute file path from local directories, local node_modules or global node_modules.
No known vulnerabilities
is-video
v2.0.0 · 3 years ago
Check if a file path is a video file
No known vulnerabilities
hidepath
v1.0.1 · 8 years ago
Get the hidden equivalent of a file path
No known vulnerabilities
is-dotfile
v2.0.0 · 9 years ago
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
No known vulnerabilities