Socket
Socket
Sign inDemoInstall

markdown-dataset

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-dataset

A large dataset of markdown files for testing markdown editors, parsers, renderers, and more.


Version published
Maintainers
1
Created
Source

markdown-dataset

A large dataset of markdown files for testing markdown editors, parsers, renderers, and more.

Note: This dataset is generated from the READMEs of the top starred repositories on GitHub that have an MIT license. Links to the original sources and licenses are included in the dataset.

How to use this dataset

npm install --save-dev markdown-dataset
import testFiles from 'markdown-dataset'

const testStrings = testFiles.reduce((decodedStrings, { markdownEncoded, markdownEncoding }) => {
  if (markdownEncoding === 'base64') {
    decodedStrings.push(atob(markdownEncoded))
  }

  return decodedStrings
}, [])

FAQs

Package last updated on 04 Feb 2024

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