65 packages found
Find a file or directory by walking up parent directories
Find the root directory of a Node.js project or npm package
Make a directory and its parents if needed - Think `mkdir -p`
- mkdir
- mkdirp
- make
- directories
- dir
- dirs
- folders
- directory
- folder
- path
- parent
- parents
- intermediate
- recursively
- View more
Read the closest package.json file
unist utility to recursively walk over nodes, with ancestral information
A tiny (183B to 210B) and fast utility to ascend parent directories
Find the closest package.json file
Get the prototype chain of any value as an Array
An opinionated LevelUP abstraction that stores and operate on keys in the form of parent/child
Returns the chain of JavaScript files used to require a given Node module - i.e. its ancestors
An array have children key and parentId key like tree.
- list
- tree
- array
- children
- parents
- parent
- parentId
- tree to array
- array to tree
- list to tree
- tree to list
- get parents
- array2tree
- tree2array
- View more
Nodejs npm module to traverse folder using code or cli or use glob patterns traverse-cli or traverse-fs or fssys
- traverse
- traverse files
- traverse folders
- search
- search files
- search folders
- traverse-cli, traverse-fs, fssys
- convert
- traverser
- manipulate
- types
- type
- is
- generate
- View more
Find a file by walking up parent directories
Walk up the tree to resolve `tsconfig.json` configuration objects.
Find a file by walking up parent directories
resolve package root and package.json paths , work on node 17 too
Transform unnested CSS into nested CSS
- postcss
- css
- postcss-plugin
- nests
- nestings
- selectors
- parents
- children
- child
- combines
- merges
- concatenates
- concats
- mixes
- View more
Recursively find and return a nested node and all its ancestors (parents) from a nested data structure (i.e. tree)
Find all instances of a file or folder in parent directories
A function to get all the scrolling parents of an html element.