Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The API extractor for npm packages powering jsDocs.io

License

NotificationsYou must be signed in to change notification settings

jsdocs-io/extractor

Repository files navigation

Build statusCoveragejsDocs.ioLanguagenpmLicense

This is the API extractor poweringjsDocs.io.

It downloads packages from the npm registry and analyzes them to extract their public API.

Requirements

  • Bun must be installed to resolve and install packages

API & Package Info

Usage Examples

Warning

Analyzing packages is a blocking operation that requires some time, even seconds, to finish!Using workers is recommended.

  1. Analyze the latest version of thepreact package from the npm registry:
import{extractPackageApi}from"@jsdocs-io/extractor";(async()=>{constpackageApi=awaitextractPackageApi({pkg:"preact"});console.log(JSON.stringify(packageApi,null,2));})();
  1. Analyze a specificsubpath export, likepreact/hooks:
import{extractPackageApi}from"@jsdocs-io/extractor";(async()=>{constresult=awaitextractPackageApi({pkg:"preact",subpath:"hooks"});console.log(JSON.stringify(packageApi,null,2));})();

License

AGPL-3.0-or-later

Copyright (C) 2025 Edoardo Scibona. SeeLICENSE.

This program is free software: you can redistribute it and/or modifyit under the terms of the GNU Affero General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.

This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public Licensealong with this program. If not, seehttps://www.gnu.org/licenses/.

About

The API extractor for npm packages powering jsDocs.io

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp