Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 2, 2024 via pnpm

remark-parse 3.0.1

Markdown parser for remark
Package summary
Share
4
issues
1
critical severity
license
1
2
high severity
vulnerability
1
meta
1
1
moderate severity
meta
1
3
licenses
24
MIT
1
ISC
1
N/A
Package created
12 Jun 2016
Version published
29 Apr 2017
Maintainers
3
Total deps
26
Direct deps
16
License
MIT

Issues

4

1 critical severity issue

critical
Recommendation: Check the package code and files for license information
via: trim@0.0.1
Collapse
Expand

2 high severity issues

high
Recommendation: Upgrade to version 0.0.3 or later
via: trim@0.0.1
via: trim@0.0.1
Collapse
Expand

1 moderate severity issue

moderate
via: trim@0.0.1
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
24 Packages, Including:
character-entities-legacy@1.1.4
character-entities@1.2.4
character-reference-invalid@1.1.4
collapse-white-space@1.0.6
has@1.0.4
is-alphabetical@1.0.4
is-alphanumerical@1.0.4
is-decimal@1.0.4
is-hexadecimal@1.0.4
is-whitespace-character@1.0.4
is-word-character@1.0.4
markdown-escapes@1.0.4
parse-entities@1.2.2
remark-parse@3.0.1
repeat-string@1.6.1
state-toggle@1.0.3
trim-trailing-lines@1.1.4
unherit@1.1.3
unist-util-is@3.0.0
unist-util-remove-position@1.1.4
unist-util-visit-parents@2.1.2
unist-util-visit@1.4.1
vfile-location@2.0.6
xtend@4.0.2

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
inherits@2.0.4

N/A

N/A
1 Packages, Including:
trim@0.0.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

16
All Dependencies CSV
β“˜ This is a list of remark-parse 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
collapse-white-space1.0.62 kBMIT
prod
has1.0.41.59 kBMIT
prod
is-alphabetical1.0.42.2 kBMIT
prod
is-decimal1.0.42.12 kBMIT
prod
is-whitespace-character1.0.42.26 kBMIT
prod
is-word-character1.0.42.2 kBMIT
prod
markdown-escapes1.0.42.32 kBMIT
prod
parse-entities1.2.26.95 kBMIT
prod
repeat-string1.6.13.26 kBMIT
prod
state-toggle1.0.32.35 kBMIT
prod
trim-trailing-lines1.1.42.06 kBMIT
prod
trim0.0.11.55 kBUNKNOWN
prod
1
2
1
unherit1.1.32.46 kBMIT
prod
unist-util-remove-position1.1.42.68 kBMIT
prod
vfile-location2.0.63 kBMIT
prod
xtend4.0.22.47 kBMIT
prod

Visualizations

Frequently Asked Questions

What does remark-parse do?

Remark-parse is a highly capable JavaScript plugin for the unified system and part of the Remark ecosystem. It enhances unified by facilitating markdown parsing and transforming it into a syntax tree. This allows developers to handle markdown content flexibly and employ syntax extensions to add advanced features.

How do you use remark-parse?

To install and use remark-parse, follow these steps:

  1. Install remark-parse using npm (Node.js 16 or higher required):
npm install remark-parse
  1. Import and use it within your JavaScript code.

Here's an example :

import rehypeStringify from 'rehype-stringify'
import remarkGfm from 'remark-gfm'
import remarkParse from 'remark-parse'
import remarkRehype from 'remark-rehype'
import {unified} from 'unified'

const doc = `
# Mercury

**Mercury** is the first planet from the [Sun](https://en.wikipedia.org/wiki/Sun)
and the smallest planet in the Solar System.
`

const file = await unified()
  .use(remarkParse)
  .use(remarkGfm)
  .use(remarkRehype)
  .use(rehypeStringify)
  .process(doc)

console.log(String(file))

Running this script will transform your markdown into HTML.

Where are the remark-parse docs?

The official documentation of remark-parse can be found on GitHub at https://github.com/remarkjs/remark/tree/main/packages/remark-parse. The repository's README file provides a detailed explanation about the plugin and its usage. Its vast ecosystem, along with the plethora of examples provided, make it an instrumental tool in markdown handling.