npm

171 packages found

M
Q
P

Description

Find a file or directory by walking up parent directories

Keywords

Publisher

published 4.1.02 months ago
M
Q
P

Description

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

Keywords

Publisher

published 3.0.05 months ago
M
Q
P

Description

Read the closest package.json file

Keywords

Publisher

published 6.0.03 months ago
M
Q
P

Description

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

Keywords

Publisher

published 4.2.03 months ago
M
Q
P

Description

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

Keywords

Publisher

published 5.0.05 months ago
M
Q
P

Description

Find the closest package.json file

Keywords

Publisher

published 3.1.04 months ago
M
Q
P

Description

Get the path of the caller function

Keywords

Publisher

published 2.0.03 years ago
M
Q
P

Description

Get the callsite of the caller function

Keywords

Publisher

published 4.1.0a month ago
M
Q
P

Description

compute the closest common parent for file paths

Keywords

Publisher

published 1.0.14 years ago
M
Q
P

Description

Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.

Keywords

Publisher

published 4.0.0a year ago
M
Q
P

Description

Returns the parent directory common to each path

Keywords

Publisher

published 2.0.2a year ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.24 years ago
M
Q
P

Description

Scope each css rule with a selector, ie. nest into parent

Keywords

Publisher

published 1.2.110 months ago
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.0a year 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.06 months ago
M
Q
P

Description

Convert a plain array of nodes (with pointers to parent nodes) to a tree

Keywords

Publisher

published 3.3.0a year ago
M
Q
P

Description

Make directories and their parents if needed - Like `mkdir -p`, but cross-platform

Keywords

Publisher

published 2.0.06 months ago
M
Q
P

Description

Add a parent reference for each AST node

Keywords

Publisher

published 1.0.23 months ago
M
Q
P

Description

A utility for finding the nearest parent that matches a test function

Keywords

Publisher

published 2.0.23 years ago
M
Q
P

Description

Find the root directory of a `git` repository

Keywords

Publisher

published 1.0.22 years ago