Search results

1000+ packages found

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

published version 0.3.1, 4 years ago182 dependents licensed under $MIT
2,406,845

`Array#forEach()` but it’s possible to define where to move to next

published version 2.0.1, 3 years ago2 dependents licensed under $MIT
2,113,553

Walk up the directory tree until the specified path is found.

published version 5.1.1, 4 months ago25 dependents licensed under $MIT
2,094,053

JSX support for Acorn Walk

published version 2.0.0, 5 years ago36 dependents licensed under $MIT
1,874,472

Resolve a path by walking parent directories.

published version 0.2.2, 5 months ago3 dependents licensed under $Apache-2.0
1,652,505

simple but flexible AST traversal with pre and post visitors

published version 0.1.1, 11 years ago60 dependents licensed under $MIT
926,490

unist utility to select nodes with CSS-like selectors

published version 5.1.0, a year ago279 dependents licensed under $MIT
710,112

A recursive stream of the files and directories in a given folder

published version 3.2.0, 6 years ago32 dependents licensed under $BSD-2-Clause
538,159

walk the ast with references to parent nodes

published version 2.2.0, 8 years ago22 dependents licensed under $MIT
468,984

unist utility to create a new tree by mapping all nodes

published version 4.0.0, a year ago129 dependents licensed under $MIT
405,385

walk a directory tree recursively with events

published version 2.0.0, 10 years ago326 dependents licensed under $MIT
496,926

simple but flexible lexically ordered AST traversal with pre and post visitors

published version 1.1.1, 10 years ago11 dependents licensed under $MIT
374,095

Walks a JavaScript AST and adds a "parent" property to each node

published version 0.0.1, 11 years ago21 dependents licensed under $MIT
292,277

Find files the easy way

published version 1.17.6, 3 years ago188 dependents licensed under $MIT
240,043

Recursively walk and transform EcmaScript AST

published version 0.7.0, 9 years ago49 dependents licensed under $MIT
239,847

resolve package root and package.json paths , work on node 17 too

published version 2.0.12, 8 months ago5 dependents licensed under $ISC
338,563

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

published version 4.0.0, 6 years ago36 dependents licensed under $MIT
177,080

Traverse object hierarchies using matching and callbacks.

published version 19.0.5, a year ago35 dependents licensed under $MIT
126,153

Find the closest package.json file

published version 5.0.0, a year ago36 dependents licensed under $MIT
175,972

vfile utility to find one or more files by searching the file system upwards

published version 7.1.0, a year ago15 dependents licensed under $MIT
106,104