npm

176 packages found

M
Q
P

Description

Find a file or directory by walking up parent directories

Keywords

Publisher

published 4.1.05 months ago
M
Q
P

Description

Read the closest package.json file

Keywords

Publisher

published 7.0.02 months ago
M
Q
P

Description

Find the root directory of a Node.js project or npm package

Keywords

Publisher

published 4.2.06 months ago
M
Q
P

Description

Make a directory and its parents if needed - Think `mkdir -p`

Keywords

Publisher

published 3.0.08 months ago
M
Q
P

Description

Extract the non-magic parent path from a glob string.

Keywords

Publisher

published 5.1.02 months ago
M
Q
P

Description

Find the closest package.json file

Keywords

Publisher

published 3.1.07 months ago
M
Q
P

Description

Get the callsite of the caller function

Keywords

Publisher

published 4.1.04 months ago
M
Q
P

Description

Get the path of the parent module

Keywords

Publisher

published 2.0.07 months ago
M
Q
P

Description

compute the closest common parent for file paths

Keywords

Publisher

published 1.0.15 years ago
M
Q
P

Description

Get the path of the caller function

Keywords

Publisher

published 2.0.03 years ago
M
Q
P

Description

Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.

Keywords

Publisher

published 1.2.03 months ago
M
Q
P

Description

return all the parent directories for a directory

Keywords

Publisher

published 1.0.15 years ago
M
Q
P

Description

Find package.json files in parent directories, keep finding until you find the right one using iterators.

Keywords

Publisher

published 1.2.09 months ago
M
Q
P

Description

Returns the parent directory common to each path

Keywords

Publisher

published 3.0.0a month ago
M
Q
P

Description

Finds the first parent directory that contains a given file or directory.

Keywords

Publisher

published 0.3.06 years ago
M
Q
P

Description

Returns an array containing the initial elements which both input arrays have in common

Keywords

Publisher

published 2.0.02 months ago
M
Q
P

Description

Get absolute path to the module that required your module

Keywords

Publisher

published 1.2.04 months ago
M
Q
P
M
Q
P

Description

Returns the chain of JavaScript files used to require a given Node module - i.e. its ancestors

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Utility library to simplify communication between apps and iframes.

Keywords

Publisher

published 1.6.22 months ago