File: README.md

package info (click to toggle)
node-yarn-tool-resolve-package 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 96 kB
  • sloc: javascript: 53; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 361 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# README.md

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

## install

```bash
yarn add @yarn-tool/resolve-package
yarn-tool add @yarn-tool/resolve-package
yt add @yarn-tool/resolve-package
```

```typescript
import { resolvePackageJsonLocation } from '@yarn-tool/resolve-package'

console.dir(resolvePackageJsonLocation('tslib'));
```