File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ It downloads packages from the npm registry and analyzes them to extract their p
1313
1414## Requirements
1515
16- - [ Bun] ( https://bun.sh/ ) must be installed to resolve and install packages
16+ - [ Bun] ( https://bun.sh/ ) must be installed and available in the ` PATH ` to resolve and install packages
1717
1818## API & Package Info
1919
@@ -31,7 +31,7 @@ It downloads packages from the npm registry and analyzes them to extract their p
31311 . Analyze the latest version of the ` preact ` package from the npm registry:
3232
3333``` ts
34- import { extractPackageApi } from " @jsdocs-io/extractor" ;
34+ import { getPackageApi } from " @jsdocs-io/extractor" ;
3535
3636(async () => {
3737 const packageApi = await getPackageApi ({ pkg: " preact" });
@@ -42,7 +42,7 @@ import { extractPackageApi } from "@jsdocs-io/extractor";
42422 . Analyze a specific [ subpath export] ( https://nodejs.org/api/packages.html#subpath-exports ) , like ` preact/hooks ` :
4343
4444``` ts
45- import { extractPackageApi } from " @jsdocs-io/extractor" ;
45+ import { getPackageApi } from " @jsdocs-io/extractor" ;
4646
4747(async () => {
4848 const result = await getPackageApi ({ pkg: " preact" , subpath: " hooks" });
You can’t perform that action at this time.
0 commit comments