0.1.0 • Published 2 years ago
@wei-tools/fund-up v0.1.0
find-up
Find the corresponding file in the current or higher directory.
usage
# npm install @wei-tools/find-up
# yarn add @wei-tools/find-up
import findUp, { findUpSync } from '@wei-tools/find-up';
// "/home/user/Desktop/project/node_modules/@wei-tools/find-up"
await findUp('/node_modules/@wei-tools/find-up');
// "/home/user/Desktop/project/node_modules/@wei-tools/find-up"
findUpSync('/node_modules/@wei-tools/find-up');
0.1.0
2 years ago
0.1.0-beta.0
2 years ago