Skip to content
JS
Package

mdast-util-newline-to-break

mdast utility to support hard breaks without needing spaces or escapes

v2.0.0, 8 Jul 2023MITESM onlyTypes: BundledMarkdownParsers and serialisers
$ npm install mdast-util-newline-to-break

Key numbers

As of 25 Sept 2026
Weekly downloads
3.7m
+574% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
3 years ago
v2.0.0
GitHub stars
2
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.9m (25 Aug 2026)Low 530.2k (14 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,654,112 downloads last week, 17,639,267 in the last month. The 12-month change of +574% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
02 in total
Latest version
2.0.0, 8 Jul 20233 years ago
First published
4 May 2023
Last push to GitHub
8 Jul 20231,174 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
9

Major versions

  1. v2 first release 2.0.0, 8 Jul 2023
  2. v1 first release 1.0.0, 4 May 2023

Recent releases

VersionPublished
2.0.08 Jul 2023
1.0.04 May 2023
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (2)
@types/mdastmdast-util-find-and-replace
npm install mdast-util-newline-to-break

CDN

jsDelivr: 135.3k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mdast-util-newline-to-break@2.0.0/
  • unpkghttps://unpkg.com/mdast-util-newline-to-break@2.0.0/
  • esm.shhttps://esm.sh/mdast-util-newline-to-break@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
mdast-util-definition-list107.9k-2 years agoESM only-
remark-slate-transformer36.8k-2 years agoESM + CommonJS-
remark-rehype32.1m-1 year agoESM only-
remark-mdx-frontmatter859.4k-1 day agoESM only-
remark-retext152.5k-1 year agoESM only-
remark-directive-rehype97k-7 months agoESM only-
mdast-add-list-metadata230.1k-5 years agoCommonJS-
remark-cli302.7k-2 years agoESM only-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.