Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Finds the first parent directory that contains a given file or directory.
`Array#forEach()` but it’s possible to define where to move to next
Walk up the directory tree until the specified path is found.
JSX support for Acorn Walk
Resolve a path by walking parent directories.
simple but flexible AST traversal with pre and post visitors
unist utility to select nodes with CSS-like selectors
A recursive stream of the files and directories in a given folder
walk the ast with references to parent nodes
unist utility to create a new tree by mapping all nodes
walk a directory tree recursively with events
simple but flexible lexically ordered AST traversal with pre and post visitors
Walks a JavaScript AST and adds a "parent" property to each node
Find files the easy way
Recursively walk and transform EcmaScript AST
resolve package root and package.json paths , work on node 17 too
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Traverse object hierarchies using matching and callbacks.
Find the closest package.json file
vfile utility to find one or more files by searching the file system upwards