Search results

179 packages found

Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

published 3.0.3 4 months ago
M
Q
P

Check if a path is a file, directory, or symlink

published 6.0.0 2 months ago
M
Q
P

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.

published 3.0.0 6 years ago
M
Q
P

Check if a path exists

published 5.0.0 3 years ago
M
Q
P

Convert a dependency path into a filepath

published 4.0.0 5 months ago
M
Q
P

Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.

published 2.0.2 8 years ago
M
Q
P

Returns `true` if the path appears to be relative.

published 1.0.0 7 years ago
M
Q
P

Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.

published 1.0.0 7 years ago
M
Q
P

Returns true if a filepath is a windows UNC file path.

published 1.0.0 7 years ago
M
Q
P

Replaces a file extension with another one.

published 2.0.0 4 years ago
M
Q
P

Convert Windows file paths to unix paths.

published 1.0.0 7 years ago
M
Q
P

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

published 1.0.2 7 years ago
M
Q
P

Convert a string to a valid safe filename

published 6.0.0 a year ago
M
Q
P

Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.

published 2.0.0 5 years ago
M
Q
P

Change the file extension of a path

published 1.0.0 a month ago
M
Q
P

Open files in your editor at a specific line and column

published 5.0.0 2 months ago
M
Q
P

Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.

published 2.0.0 6 years ago
M
Q
P

Resolve a directory that is either local, global or in the user's home directory.

published 1.0.1 7 years ago
M
Q
P

Check if a path is the current working directory

published 3.0.0 3 years ago
M
Q
P

Remove leading directory components from a path, like tar's --strip-components option

published 3.0.0 6 years ago
M
Q
P