
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@jsdocs-io/extractor
Advanced tools
This is the API extractor powering jsDocs.io.
It downloads packages from the npm registry and analyzes them to extract their public API.
[!WARNING] Analyzing packages is a blocking operation that requires some time, even seconds, to finish! Using workers is recommended.
preact
package from the npm registry:import { extractPackageApi } from "@jsdocs-io/extractor";
(async () => {
const packageApi = await extractPackageApi({ pkg: "preact" });
console.log(JSON.stringify(packageApi, null, 2));
})();
preact/hooks
:import { extractPackageApi } from "@jsdocs-io/extractor";
(async () => {
const result = await extractPackageApi({ pkg: "preact", subpath: "hooks" });
console.log(JSON.stringify(packageApi, null, 2));
})();
AGPL-3.0-or-later
Copyright (C) 2024 Edoardo Scibona. See LICENSE.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the 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 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
FAQs
The API extractor for npm packages powering jsdocs.io
The npm package @jsdocs-io/extractor receives a total of 51 weekly downloads. As such, @jsdocs-io/extractor popularity was classified as not popular.
We found that @jsdocs-io/extractor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.