Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@textlint/markdown-to-ast

Package Overview
Dependencies
Maintainers
4
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/markdown-to-ast

Parse Markdown to AST with location info.

  • 6.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
72K
decreased by-60.51%
Maintainers
4
Weekly downloads
 
Created

What is @textlint/markdown-to-ast?

@textlint/markdown-to-ast is an npm package that converts Markdown text into an Abstract Syntax Tree (AST). This is particularly useful for text processing, linting, and transforming Markdown content programmatically.

What are @textlint/markdown-to-ast's main functionalities?

Convert Markdown to AST

This feature allows you to convert a Markdown string into an Abstract Syntax Tree (AST). The AST can then be used for further processing, such as linting or transforming the Markdown content.

const markdownToAst = require('@textlint/markdown-to-ast');
const markdownText = '# Hello World\nThis is a sample markdown text.';
const ast = markdownToAst.parse(markdownText);
console.log(JSON.stringify(ast, null, 2));

Other packages similar to @textlint/markdown-to-ast

FAQs

Package last updated on 24 Jul 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc