Socket
Book a DemoInstallSign in
Socket

commonmark-test-suite

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commonmark-test-suite

CommonMark Test Suite.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

commonmark-test-suite

Npm Version MIT License Coverage

CommonMark Test Suite.

CommonMark Spec data in JavaScript.

Install

yarn add commonmark-test-suite

Usage

Latest version

import commonmarkTestSuite from 'commonmark-test-suite'

console.log(commonmarkTestSuite.latest)
// =>
// {
//   version: '0.31.2',
//   date: '2024-01-28',
//   testCases: [
//     {
//       markdown: '\tfoo\tbaz\t\tbim\n',
//       html: '<pre><code>foo\tbaz\t\tbim\n</code></pre>\n',
//       example: 1,
//       start_line: 355,
//       end_line: 360,
//       section: 'Tabs'
//     },
//     // ...,
//   ]
// }

Legacy versions (0.13 ~ latest)

import commonmarkTestSuite from 'commonmark-test-suite'

console.log(commonmarkTestSuite['0.30'])
// =>
// {
//   version: '0.30',
//   date: '2021-06-19',
//   testCases: [
//     {
//       markdown: '\tfoo\tbaz\t\tbim\n',
//       html: '<pre><code>foo\tbaz\t\tbim\n</code></pre>\n',
//       example: 1,
//       start_line: 356,
//       end_line: 361,
//       section: 'Tabs'
//     },
//     // ...,
//   ]
// }

FAQs

Package last updated on 08 Dec 2025

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