npm

140 packages found

M
Q
P

Description

easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.

Keywords

Publisher

published 1.0.33 years ago
M
Q
P

Description

Returns true if a windows file path has invalid characters.

Keywords

Publisher

published 1.0.2a year ago
M
Q
P

Description

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.

Keywords

Publisher

published 2.0.0a year ago
M
Q
P

Description

Get installation path where the given package is installed. Works for globally and locally installed packages

Keywords

Publisher

published 4.0.82 years ago
M
Q
P

Description

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.

Keywords

Publisher

published 3.0.24 years ago
M
Q
P

Description

Open files in your editor at a specific line and column

Keywords

Publisher

published 2.0.12 months ago
M
Q
P

Description

Convert Windows file paths to unix paths.

Keywords

Publisher

published 1.0.02 years ago
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.02 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.12 years ago
M
Q
P

Description

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

Keywords

Publisher

published 3.0.1a year ago
M
Q
P

Description

Convert a dependency path into a filepath

Keywords

Publisher

published 2.0.06 months ago
M
Q
P

Description

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

Keywords

Publisher

published 2.0.02 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.1.02 years ago
M
Q
P

Description

Returns true if a filepath exists on the file system and it's directory.

Keywords

Publisher

published 0.3.13 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.13 years ago
M
Q
P

Description

Automatically re-write the destination extension of a filepath based on the source extension. e.g `.coffee` => `.js`. This will only rename the ext, no other path parts are modified.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Match filepath is validated, or exclude filepath that don't need.

Keywords

Publisher

published 1.0.24 years ago
M
Q
P

Description

Check to see if a directory exists

Keywords

Publisher

published 2.0.19 months ago
M
Q
P

Description

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

Keywords

Publisher

published 3.1.09 months ago