
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
flatmarkdown-ast
Advanced tools
TypeScript type definitions for the FlatMarkdown AST.
npm install flatmarkdown-ast
import type { AstNode, DocumentNode, HeadingNode } from 'flatmarkdown-ast';
const doc: DocumentNode = {
type: 'document',
children: [
{ type: 'heading', level: 1, setext: false, children: [{ type: 'text', value: 'Hello' }] },
],
};
All 46 AST node interfaces and the AstNode union type:
Block nodes: DocumentNode, ParagraphNode, HeadingNode, CodeBlockNode, BlockQuoteNode, MultilineBlockQuoteNode, ListNode, ItemNode, TaskItemNode, TableNode, TableRowNode, TableCellNode, ThematicBreakNode, HtmlBlockNode, FootnoteDefinitionNode, DescriptionListNode, DescriptionItemNode, DescriptionTermNode, DescriptionDetailsNode, AlertNode, FrontMatterNode, HeexBlockNode, SubtextNode
Inline nodes: TextNode, SoftbreakNode, LinebreakNode, EmphNode, StrongNode, StrikethroughNode, UnderlineNode, HighlightNode, SuperscriptNode, SubscriptNode, SpoileredTextNode, CodeNode, LinkNode, ImageNode, FootnoteReferenceNode, ShortcodeNode, MathNode, HtmlInlineNode, HeexInlineNode, RawNode, EscapedNode, EscapedTagNode, WikilinkNode
MIT
FAQs
TypeScript type definitions for the FlatMarkdown AST.
The npm package flatmarkdown-ast receives a total of 8 weekly downloads. As such, flatmarkdown-ast popularity was classified as not popular.
We found that flatmarkdown-ast 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.