File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ It downloads packages from the npm registry and analyzes them to extract their p
3434import { extractPackageApi } from " @jsdocs-io/extractor" ;
3535
3636(async () => {
37- const packageApi = await extractPackageApi ({ pkg: " preact" });
37+ const packageApi = await getPackageApi ({ pkg: " preact" });
3838 console .log (JSON .stringify (packageApi , null , 2 ));
3939})();
4040```
@@ -45,7 +45,7 @@ import { extractPackageApi } from "@jsdocs-io/extractor";
4545import { extractPackageApi } from " @jsdocs-io/extractor" ;
4646
4747(async () => {
48- const result = await extractPackageApi ({ pkg: " preact" , subpath: " hooks" });
48+ const result = await getPackageApi ({ pkg: " preact" , subpath: " hooks" });
4949 console .log (JSON .stringify (packageApi , null , 2 ));
5050})();
5151```
You can’t perform that action at this time.
0 commit comments