
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@sfdocs-internal/api-headers-document
Advanced tools
Documentation component for API headers based on AMF data model
This component is being deprecated. The code base has been moved to api-documentation module. This module will be archived when PR 37 is merged.
Documentation component for API headers based on AMF data model.
This version only works with AMF model version 2 (AMF parser >= 4.0.0).
For compatibility with previous model version use 3.x.x version of the component.
npm install --save @api-components/api-headers-document
<html>
<head>
<script type="module">
import '@api-components/api-headers-document/api-headers-document.js';
</script>
</head>
<body>
<api-headers-document></api-headers-document>
</body>
</html>
import { LitElement, html } from 'lit-element';
import '@api-components/api-headers-document/api-headers-document.js';
class SampleElement extends PolymerElement {
render() {
return html`
<api-headers-document .amf="${this.amf}"></api-headers-document>
`;
}
}
customElements.define('sample-element', SampleElement);
git clone https://github.com/api-components/api-headers-document
cd api-headers-document
npm install
npm start
npm test
FAQs
Documentation component for API headers based on AMF data model
We found that @sfdocs-internal/api-headers-document demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 open source maintainers 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
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.