
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
@princjef/api-documenter
Advanced tools
Automatically generate markdown documentation pages for Typescript packages.
Automatic documentation of public APIs for Typescript packages.
This package is forked from @microsoft/api-documenter and is
meant to be used alongside @microsoft/api-extractor. It has
been updated with the following adjustments/capabilities:
To use this package, you will typically want to install it alongside the API Extractor tool:
npm install --save-dev @microsoft/api-extractor @princjef/api-documenter
To get API Extractor to work with the documenter, you will need an
api-extractor.json file like the following in your repository:
{
"compiler": {
"configType": "tsconfig",
"rootFolder": "."
},
"project": {
"entryPointSourceFile": "<your built .d.ts entry point>"
},
"apiJsonFile": {
"enabled": true,
"outputFolder": "./temp"
}
}
With the configuration above, you can then generate your documentation by running:
api-extractor run && api-documenter --input ./temp --output <output folder>
Running this will output markdown files for your API to the folder specified. You can either use these output files directly or integrate it with a documentation site of your choosing.
What documentation tags can I use?
This package relies on a slightly modified version of JSDoc comments called AEDoc. Work is ongoing to standardize this into a TSDoc specification.
Why am I seeing an error about a missing release tag?
API Extractor requires all exported items (classes, interfaces, types,
namespaces, etc.), to be labeled with one of the four visibility filters
(@public, @beta, @alpha, @internal) to make the usage explicit. If you
want to get rid of the warning and include the item as a regular exported
member, add the @public tag on its own line at the end of the doc comment for
the item.
See CONTRIBUTING.md for full contribution guidelines.
FAQs
Automatically generate markdown documentation pages for Typescript packages.
The npm package @princjef/api-documenter receives a total of 26 weekly downloads. As such, @princjef/api-documenter popularity was classified as not popular.
We found that @princjef/api-documenter demonstrated a not healthy version release cadence and project activity because the last version was released 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.