Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

commonmark-extract-text

wilfredh85ISC0.1.0

extract plain text from commonmark source

commonmark

readme

commonmark-extract-text CircleCI

Extracts plain prose from commonmark source code. Useful for text analysis of commonmark.

Usage

var extract = require("commonmark-extract-text");

extract.fromText("# hello\n\nThis is **important**.");