mos-read-pkg-up
Read the closest package.json file
Read the closest package.json file
Find name from closest package.json or its directory name.
Read the closest package.json files and find yarn workspaces
查找一个指定名称的文件或目录,如果存在,则返回它绝对路径。
glob search from current cwd up to root or stopPath
Find a file matching a pattern by walking up parent directories
Read all matching files or directories by walking up parent directories
Find up and read `tsconfig.json` file
Find a file by walking up parent directories
> Parses arbitrary path string considering the presence of packages and workspaces
Find the closest `.git` directory
Utilities for finding the closest package.json file
Find a file or directory by walking up parent directories
Find a file or directory by walking up parent directories
Find a file or directory by walking up parent directories — Zero dependencies
Find the closest package.json file
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
### Super-easy asynchronous persistent data structures in Node.js, modeled after HTML5 localStorage
Simple explicit tail call optimization in pure JavaScript.