
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@openpkg-ts/adapters
Advanced tools
Framework adapters for OpenPkg - Fumadocs, Docusaurus, Mintlify, etc.
Framework adapters for OpenPkg API documentation.
Self-registering adapter pattern for extensibility.
import { registerAdapter, getAdapter, listAdapters } from '@openpkg-ts/adapters';
// List available adapters
const adapters = listAdapters();
// Get adapter by id
const fumadocs = getAdapter('fumadocs');
await fumadocs.generate(spec, './docs/api');
import { registerAdapter, type DocAdapter } from '@openpkg-ts/adapters';
const myAdapter: DocAdapter = {
id: 'my-adapter',
name: 'My Adapter',
generate: async (spec, outDir) => {
// Generate docs to outDir
},
};
registerAdapter(myAdapter);
# Use adapter via CLI
openpkg docs openpkg.json --adapter fumadocs -o docs/api/
npm install @openpkg-ts/adapters fumadocs-core
import { loader } from 'fumadocs-core/source';
import { openpkgSource, openpkgPlugin } from '@openpkg-ts/adapters/fumadocs';
import spec from './openpkg.json';
export const apiSource = loader({
baseUrl: '/docs/api',
source: openpkgSource({ spec }),
plugins: [openpkgPlugin()],
});
Self-registers on import - no manual registration needed.
@import '@openpkg-ts/adapters/fumadocs/css';
import { SidebarKindBadge } from '@openpkg-ts/adapters/fumadocs/components';
| Option | Type | Default | Description |
|---|---|---|---|
spec | OpenPkg | required | The OpenPkg spec |
baseDir | string | 'api' | Base directory |
mode | 'pages' | 'single' | 'pages' | Navigation mode |
indexPage | boolean | true | Generate index page |
import type { DocAdapter } from '@openpkg-ts/adapters';
@openpkg-ts/adapters/docusaurus (planned)@openpkg-ts/adapters/mintlify (planned)MIT
FAQs
Framework adapters for OpenPkg - Fumadocs, Docusaurus, Mintlify, etc.
We found that @openpkg-ts/adapters 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.