Search results

179 packages found

M
Q
P
M
Q
P
M
Q
P

Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.

published 3.0.2 9 years ago
M
Q
P

Get the icon of a file or app as a PNG image (macOS)

published 5.1.2 2 months ago
M
Q
P

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

published 0.10.0 8 years ago
M
Q
P

Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested [global-modules][] package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some p

published 1.0.1 8 years ago
M
Q
P

Delete files and folders and any intermediate directories if they exist (sync and async).

published 1.1.0 7 years ago
M
Q
P

Returns true if a filepath starts with the given string. Works with windows and posix/unix paths.

published 2.0.1 a year ago
M
Q
P

Write a JSON file to disk, also creates intermediate directories in the destination path if they don't already exist.

published 3.0.1 7 years ago
M
Q
P

Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows (win32), or MacOS (darwin).

published 4.0.1 a year ago
M
Q
P

Set the `contents` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.

published 1.0.1 8 years ago
M
Q
P

Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.

published 2.0.2 7 years ago
M
Q
P

Ensures that absolute file paths are always returned from a glob pattern or array of glob patterns.

published 1.0.0 7 years ago
M
Q
P

Parse a directory and generate it's structure tree.

published 2.1.8 a year ago
M
Q
P

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

published 4.0.0 2 years ago
M
Q
P

Checks if provided string looks like a valid path

published 2.1.0 2 years ago
M
Q
P

Check to see if a directory exists

published 2.0.1 6 years ago
M
Q
P

Parse and stringify file paths with line and column like `unicorn.js:8:14`

published 3.0.0 3 years ago
M
Q
P

Cross-platform file path sorting. Sort an array of path strings or objects containing path strings.

published 1.0.0 6 years ago
M
Q
P