Skip to content
Back to skills

Npm Package Api Surface Extractor

ASecurity

Extracts and documents public API surfaces from NPM packages using TypeScript Compiler API (ts.createProgram) and API Extractor from @microsoft/api-extractor. Generates .api.md report files and .d.ts rollups.

  • 67 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 8, 2026
ai-agentstypescriptgonodeawsapisecuritydocumentation

Works with

  • claude code
  • api

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill npm-package-api-surface-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Npm Package Api Surface Extractor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Npm Package Api Surface Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-npm-package-api-surface-extractor/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-npm-package-api-surface-extractor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "NPM Package API Surface Extractor"
slug: "npm-package-api-surface-extractor"
description: "Extracts and documents public API surfaces from NPM packages using TypeScript Compiler API (ts.createProgram) and API Extractor from @microsoft/api-extractor. Generates .api.md report files and .d.ts rollups."
verification: "security_reviewed"
source: "https://api-extractor.com/"
author: "Microsoft"
category: "Library & API Reference"
framework: "Claude Code"
---

# NPM Package API Surface Extractor

Extracts and documents public API surfaces from NPM packages using TypeScript Compiler API (ts.createProgram) and API Extractor from @microsoft/api-extractor. Generates .api.md report files and .d.ts rollups.

## Prerequisites

Node.js, TypeScript

## Installation

Requirements and caveats from upstream:
- Missing exports: Suppose the awesome-widgets package exports an API function AwesomeButton.draw() that requires a parameter of type DrawStyle , but you forgot to export this enum. Things seem fine at first, but when a...

Basic usage or getting-started notes:
- API Extractor helps you build better TypeScript library packages. Suppose for example that your company has published an NPM package called “ awesome-widgets ” that exports many classes and interfaces. As developers s...

- Source: https://api-extractor.com/

## Documentation

- https://api-extractor.com/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/npm-package-api-surface-extractor/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.