{"_id":"remark-breaks","_rev":"4128057","name":"remark-breaks","description":"remark plugin to add break support, without needing spaces","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2026-03-01T18:26:38.000Z","created":"2017-07-20T20:18:11.309Z","4.0.0":"2023-09-22T16:45:41.061Z","3.0.3":"2023-05-09T12:30:21.494Z","3.0.2":"2021-10-28T09:51:19.213Z","3.0.1":"2021-08-11T09:17:06.407Z","3.0.0":"2021-08-06T10:28:41.999Z","2.0.2":"2021-03-28T07:19:02.265Z","2.0.1":"2020-10-06T06:52:15.370Z","2.0.0":"2020-07-30T12:20:47.900Z","1.0.5":"2020-03-22T16:49:31.283Z","1.0.4":"2020-03-22T16:43:59.651Z","1.0.3":"2019-06-15T17:09:13.375Z","1.0.2":"2018-11-20T22:07:41.688Z","1.0.1":"2018-08-10T20:27:26.411Z","1.0.0":"2017-07-20T20:18:11.309Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"versions":{"4.0.0":{"name":"remark-breaks","version":"4.0.0","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["break","linefeed","markdown","mdast","newline","plugin","remark","remark-plugin","unified"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/mdast":"^4.0.0","mdast-util-newline-to-break":"^2.0.0","unified":"^11.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","prettier":"^3.0.0","rehype-stringify":"^10.0.0","remark-cli":"^11.0.0","remark-parse":"^11.0.0","remark-preset-wooorm":"^9.0.0","remark-rehype":"^11.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.56.0"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix","prepack":"npm run build && npm run format","test":"npm run build && npm run format && npm run test-coverage","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api"},"prettier":{"bracketSpacing":false,"singleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"overrides":[{"files":["test.js"],"rules":{"no-await-in-loop":"off"}}],"prettier":true},"_id":"remark-breaks@4.0.0","gitHead":"71f4ff3ca9f08b685dccf2fdb9882d8bbaea3388","types":"./index.d.ts","homepage":"https://github.com/remarkjs/remark-breaks#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"dcc19a2891733906f3b97eaa8acb8621e8da8852","size":4499,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-4.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_4.0.0_1695401140849_0.64947384381338"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-22T16:45:41.061Z","publish_time":1695401141061,"_source_registry_name":"default","_cnpm_publish_time":1695401141061},"3.0.3":{"name":"remark-breaks","version":"3.0.3","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","unified":"^10.0.0","mdast-util-newline-to-break":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^11.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^9.0.0","remark-rehype":"^10.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.54.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"f39609285cd2d78f7e4c72a1a01bd3937ffb01e6","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@3.0.3","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"shasum":"660e6c995e954e5abdd95bf77df6f1402cb911ef","size":4381,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-3.0.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_3.0.3_1683635421342_0.08916128254980027"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-09T12:30:21.494Z","publish_time":1683635421494,"_source_registry_name":"default","_cnpm_publish_time":1683635421494},"3.0.2":{"name":"remark-breaks","version":"3.0.2","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","unified":"^10.0.0","unist-util-visit":"^4.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^10.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^9.0.0","remark-rehype":"^10.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.45.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"f2396a2edfba62df68127dc1eccbedea1346d137","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@3.0.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"f466b9d3474d7323146c0149fc1496dabadd908e","size":4690,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-3.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_3.0.2_1635414679079_0.3043519190138504"},"_hasShrinkwrap":false,"publish_time":1635414679213,"_cnpm_publish_time":1635414679213,"_cnpmcore_publish_time":"2021-12-17T01:58:05.905Z"},"3.0.1":{"name":"remark-breaks","version":"3.0.1","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","unified":"^10.0.0","unist-util-visit":"^4.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","dtslint":"^4.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^10.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^8.0.0","remark-rehype":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.44.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test-types":"dtslint types","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"086b0255b378efcc0cc1b6800471b85a8dad4e20","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@3.0.1","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"2af93d7e91487ca1d191c6855d07f81bfdc79cfb","size":3815,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-3.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_3.0.1_1628673426237_0.9367184906649919"},"_hasShrinkwrap":false,"publish_time":1628673426407,"_cnpm_publish_time":1628673426407,"_cnpmcore_publish_time":"2021-12-17T01:58:06.112Z"},"3.0.0":{"name":"remark-breaks","version":"3.0.0","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","unist-util-visit":"^4.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","dtslint":"^4.0.0","prettier":"^2.0.0","rehype-stringify":"^9.0.0","remark-cli":"^10.0.0","remark-parse":"^10.0.0","remark-preset-wooorm":"^8.0.0","remark-rehype":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unified":"^10.0.0","xo":"^0.43.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","test-types":"dtslint types","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"954ec9a0a54c267756e4b65d924b8aa11460289b","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@3.0.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"6cfd3c4056be753fb3deb15b1e01503c78a8ff26","size":3813,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-3.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_3.0.0_1628245721879_0.5589256489854972"},"_hasShrinkwrap":false,"publish_time":1628245721999,"_cnpm_publish_time":1628245721999,"_cnpmcore_publish_time":"2021-12-17T01:58:06.313Z"},"2.0.2":{"name":"remark-breaks","version":"2.0.2","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types/index.d.ts","dependencies":{"unist-util-visit":"^2.0.0"},"devDependencies":{"browserify":"^17.0.0","dtslint":"^4.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^8.0.0","remark-cli":"^9.0.0","remark-parse":"^9.0.0","remark-preset-wooorm":"^8.0.0","remark-rehype":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unified":"^9.0.0","xo":"^0.38.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify . -s remarkBreaks > remark-breaks.js","build-mangle":"browserify . -s remarkBreaks -p tinyify > remark-breaks.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/no-array-callback-reference":"off"},"ignores":["types/","remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"c11877a22f58fb3d24a91a14976adbd848f325c2","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@2.0.2","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"shasum":"55fdec6c7da84f659aa7fdb1aa95b632870cee8d","size":3617,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-2.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_2.0.2_1616915942108_0.5078240027890562"},"_hasShrinkwrap":false,"publish_time":1616915942265,"_cnpm_publish_time":1616915942265,"_cnpmcore_publish_time":"2021-12-17T01:58:06.563Z"},"2.0.1":{"name":"remark-breaks","version":"2.0.1","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types/index.d.ts","dependencies":{},"devDependencies":{"browserify":"^16.0.0","dtslint":"^4.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^8.0.0","remark-cli":"^8.0.0","remark-parse":"^9.0.0-alpha.1","remark-preset-wooorm":"^7.0.0","remark-rehype":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unified":"^9.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . --write && xo --fix","build-bundle":"browserify . -s remarkBreaks > remark-breaks.js","build-mangle":"browserify . -s remarkBreaks -p tinyify > remark-breaks.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/no-fn-reference-in-iterator":"off"},"ignores":["remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"195901395eee14b84013726bc26203ba5c4d9388","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@2.0.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"shasum":"5dfe54e5b9ab65cfa1e25d6810fb556dda1c8ec1","size":3622,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-2.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_2.0.1_1601967135243_0.28963519672616433"},"_hasShrinkwrap":false,"publish_time":1601967135370,"_cnpm_publish_time":1601967135370,"_cnpmcore_publish_time":"2021-12-17T01:58:06.773Z"},"2.0.0":{"name":"remark-breaks","version":"2.0.0","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types/index.d.ts","dependencies":{},"devDependencies":{"browserify":"^16.0.0","dtslint":"^3.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^8.0.0","remark-cli":"^8.0.0","remark-parse":"^8.0.0","remark-preset-wooorm":"^7.0.0","remark-rehype":"^7.0.0","tape":"^5.0.0","tinyify":"^2.0.0","unified":"^9.0.0","xo":"^0.32.0"},"scripts":{"format":"remark . -qfo && prettier . --write && xo --fix","build-bundle":"browserify . -s remarkBreaks > remark-breaks.js","build-mangle":"browserify . -s remarkBreaks -p tinyify > remark-breaks.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test-types":"dtslint types","test":"npm run format && npm run build && npm run test-coverage && npm run test-types"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/no-fn-reference-in-iterator":"off"},"ignores":["remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"5811aefefe8ac0130f12ce216299bfbec904915b","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@2.0.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"shasum":"96aa5078f5d582c328e7a9aff50b3167813aca58","size":3517,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-2.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_2.0.0_1596111647810_0.07944355137438563"},"_hasShrinkwrap":false,"publish_time":1596111647900,"_cnpm_publish_time":1596111647900,"_cnpmcore_publish_time":"2021-12-17T01:58:07.064Z"},"1.0.5":{"name":"remark-breaks","version":"1.0.5","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^6.0.0","remark-cli":"^7.0.0","remark-parse":"^7.0.0","remark-preset-wooorm":"^6.0.0","remark-rehype":"^5.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unified":"^8.0.0","xo":"^0.28.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkBreaks > remark-breaks.js","build-mangle":"browserify . -s remarkBreaks -p tinyify > remark-breaks.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"e5251cc377ecb9b72387bd30d5684391acb84867","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@1.0.5","_nodeVersion":"13.10.1","_npmVersion":"6.14.3","dist":{"shasum":"e9785f8b174f45c05af542fbeb18354b766e1139","size":3353,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-1.0.5.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_1.0.5_1584895771150_0.8802818744979524"},"_hasShrinkwrap":false,"publish_time":1584895771283,"_cnpm_publish_time":1584895771283,"_cnpmcore_publish_time":"2021-12-17T01:58:07.259Z"},"1.0.4":{"name":"remark-breaks","version":"1.0.4","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","remark-plugin","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^2.0.0","rehype-stringify":"^6.0.0","remark-cli":"^7.0.0","remark-parse":"^7.0.0","remark-preset-wooorm":"^6.0.0","remark-rehype":"^5.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unified":"^8.0.0","xo":"^0.28.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkBreaks > remark-breaks.js","build-mangle":"browserify . -s remarkBreaks -p tinyify > remark-breaks.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"b104d8fd8907ff388c4d65f46911e81a58462835","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@1.0.4","_nodeVersion":"13.10.1","_npmVersion":"6.14.3","dist":{"shasum":"0255eef68045820a951252dc973afd10ed252581","size":3339,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-1.0.4.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_1.0.4_1584895439490_0.6466447018628936"},"_hasShrinkwrap":false,"publish_time":1584895439651,"_cnpm_publish_time":1584895439651,"_cnpmcore_publish_time":"2021-12-17T01:58:07.498Z"},"1.0.3":{"name":"remark-breaks","version":"1.0.3","description":"remark plugin to add break support, without needing spaces","license":"MIT","keywords":["unified","remark","plugin","mdast","markdown","break","newline","linefeed"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.0.0","rehype-stringify":"^6.0.0","remark-cli":"^6.0.0","remark-parse":"^6.0.0","remark-preset-wooorm":"^5.0.0","remark-rehype":"^4.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unified":"^7.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkBreaks > remark-breaks.js","build-mangle":"browserify . -s remarkBreaks -p tinyify > remark-breaks.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"e48c4b4d13fed6830b955635a25f1281991ade8b","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@1.0.3","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"9ca5dbf99ad04154bbf0b6e8f227b3735dfe637a","size":3174,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-1.0.3.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_1.0.3_1560618553220_0.9413322023555455"},"_hasShrinkwrap":false,"publish_time":1560618553375,"_cnpm_publish_time":1560618553375,"_cnpmcore_publish_time":"2021-12-17T01:58:07.690Z"},"1.0.2":{"name":"remark-breaks","version":"1.0.2","description":"Breaks support, without needing spaces, for remark","license":"MIT","keywords":["break","newline","markdown","remark"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^13.0.0","prettier":"^1.14.2","rehype-stringify":"^5.0.0","remark-cli":"^6.0.0","remark-parse":"^6.0.0","remark-preset-wooorm":"^4.0.0","remark-rehype":"^3.0.0","tape":"^4.4.0","tinyify":"^2.4.3","unified":"^7.0.0","xo":"^0.23.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkBreaks > remark-breaks.js","build-mangle":"browserify . -s remarkBreaks -p tinyify > remark-breaks.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"d13c95241c2cd02b6c9567ef4a141bf2f37b73b8","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"ad7bac95a30214ab44d7dd5ab3fe0bab97f0bc63","size":3070,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-1.0.2.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_1.0.2_1542751661596_0.2043363128303619"},"_hasShrinkwrap":false,"publish_time":1542751661688,"_cnpm_publish_time":1542751661688,"_cnpmcore_publish_time":"2021-12-17T01:58:07.891Z"},"1.0.1":{"name":"remark-breaks","version":"1.0.1","description":"Breaks support, without needing spaces, for remark","license":"MIT","keywords":["break","newline","markdown","remark"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-breaks.git"},"bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^12.0.0","prettier":"^1.14.2","rehype-stringify":"^4.0.0","remark-cli":"^5.0.0","remark-parse":"^5.0.0","remark-preset-wooorm":"^4.0.0","remark-rehype":"^3.0.0","tape":"^4.4.0","tinyify":"^2.4.3","unified":"^7.0.0","xo":"^0.22.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s remarkBreaks > remark-breaks.js","build-mangle":"browserify . -s remarkBreaks -p tinyify > remark-breaks.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"c2aa539649915173c2cbfaa6479634b7951fd2f3","homepage":"https://github.com/remarkjs/remark-breaks#readme","_id":"remark-breaks@1.0.1","_npmVersion":"6.3.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"7f90548f6c4883929f3e33b9933414f95a1014ea","size":2951,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-1.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks_1.0.1_1533932846298_0.5027594587547641"},"_hasShrinkwrap":false,"publish_time":1533932846411,"_cnpm_publish_time":1533932846411,"_cnpmcore_publish_time":"2021-12-17T01:58:08.403Z"},"1.0.0":{"name":"remark-breaks","version":"1.0.0","description":"Breaks support, without needing spaces, for remark","license":"MIT","keywords":["break","newline","markdown","remark"],"repository":{"type":"git","url":"git+https://github.com/wooorm/remark-breaks.git"},"bugs":{"url":"https://github.com/wooorm/remark-breaks/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{},"devDependencies":{"browserify":"^14.0.0","esmangle":"^1.0.0","nyc":"^11.0.2","rehype-stringify":"^3.0.0","remark-cli":"^4.0.0","remark-parse":"^4.0.0","remark-preset-wooorm":"^3.0.0","remark-rehype":"^2.0.1","tape":"^4.4.0","unified":"^6.1.5","xo":"^0.18.0"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js -s remarkBreaks > remark-breaks.js","build-mangle":"esmangle remark-breaks.js > remark-breaks.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"ignores":["remark-breaks.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"3c4a40c3b2d9d076c6ec727cbe30605158b6d926","homepage":"https://github.com/wooorm/remark-breaks#readme","_id":"remark-breaks@1.0.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"f7d701d14cf6cf6f225ff93f1c3a10b3c353a9a3","size":2623,"noattachment":false,"key":"/remark-breaks/-/remark-breaks-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-breaks/download/remark-breaks-1.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-breaks-1.0.0.tgz_1500581890329_0.10767433140426874"},"directories":{},"publish_time":1500581891309,"_hasShrinkwrap":false,"_cnpm_publish_time":1500581891309,"_cnpmcore_publish_time":"2021-12-17T01:58:08.584Z"}},"readme":"# remark-breaks\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n**[remark][]** plugin to support hard breaks without needing spaces or escapes\n(turns enters into `<br>`s).\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`unified().use(remarkBreaks)`](#unifieduseremarkbreaks)\n*   [Syntax](#syntax)\n*   [Syntax tree](#syntax-tree)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package is a [unified][] ([remark][]) plugin to turn soft line endings\n(enters) into hard breaks (`<br>`s)\n\n## When should I use this?\n\nThis plugin is useful if you want to display user content closer to how it was\nauthored, because when a user includes a line ending, it’ll show as such.\nGitHub does this in a few places (comments, issues, PRs, and releases), but it’s\nnot semantic according to HTML and not compliant to markdown.\nMarkdown already has two ways to include hard breaks, namely trailing spaces and\nescapes (note that `␠` represents a normal space):\n\n```markdown\nlorem␠␠\nipsum\n\nlorem\\\nipsum\n```\n\nBoth will turn into `<br>`s.\nIf you control who authors content or can document how markdown works, it’s\nrecommended to use escapes instead.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install remark-breaks\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport remarkBreaks from 'https://esm.sh/remark-breaks@4'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import remarkBreaks from 'https://esm.sh/remark-breaks@4?bundle'\n</script>\n```\n\n## Use\n\nSay we have the following file `example.md` (note: there are no spaces after\n`a`):\n\n```markdown\nMars is\nthe fourth planet\n```\n\n…and a module `example.js`:\n\n```js\nimport rehypeStringify from 'rehype-stringify'\nimport remarkBreaks from 'remark-breaks'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport {read} from 'to-vfile'\nimport {unified} from 'unified'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkBreaks)\n  .use(remarkRehype)\n  .use(rehypeStringify)\n  .process(await read('example.md'))\n\nconsole.log(String(file))\n```\n\n…then running `node example.js` yields:\n\n```html\n<p>Mars is<br>\nthe fourth planet</p>\n```\n\n> ???? **Note**: Without `remark-breaks`, you’d get:\n>\n> ```html\n> <p>Mars is\n> the fourth planet</p>\n> ```\n\n## API\n\nThis package exports no identifiers.\nThe default export is [`remarkBreaks`][api-remark-breaks].\n\n### `unified().use(remarkBreaks)`\n\nSupport hard breaks without needing spaces or escapes (turns enters into\n`<br>`s).\n\n###### Parameters\n\nThere are no parameters.\n\n###### Returns\n\nTransform ([`Transformer`][unified-transformer]).\n\n## Syntax\n\nThis plugin looks for markdown line endings (`\\r`, `\\n`, and `\\r\\n`) preceded\nby zero or more spaces and tabs.\n\n## Syntax tree\n\nThis plugin adds mdast [`Break`][mdast-break] nodes to the syntax tree.\nThese are the same nodes that represent breaks with spaces or escapes.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line, `remark-breaks@^4`,\ncompatible with Node.js 16.\n\nThis plugin works with `unified` version 6+ and `remark` version 7+.\n\n## Security\n\nUse of `remark-breaks` does not involve **[rehype][]** (**[hast][]**) or user\ncontent so there are no openings for [cross-site scripting (XSS)][wiki-xss]\nattacks.\n\n## Related\n\n*   [`remark-gfm`](https://github.com/remarkjs/remark-gfm)\n    — support GFM (autolink literals, footnotes, strikethrough, tables,\n    tasklists)\n*   [`remark-github`](https://github.com/remarkjs/remark-github)\n    — link references to commits, issues, and users, in the same way that\n    GitHub does\n*   [`remark-directive`](https://github.com/remarkjs/remark-directive)\n    — support directives\n*   [`remark-frontmatter`](https://github.com/remarkjs/remark-frontmatter)\n    — support frontmatter (YAML, TOML, and more)\n*   [`remark-math`](https://github.com/remarkjs/remark-math)\n    — support math\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/remarkjs/remark-breaks/workflows/main/badge.svg\n\n[build]: https://github.com/remarkjs/remark-breaks/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/remark-breaks.svg\n\n[coverage]: https://codecov.io/github/remarkjs/remark-breaks\n\n[downloads-badge]: https://img.shields.io/npm/dm/remark-breaks.svg\n\n[downloads]: https://www.npmjs.com/package/remark-breaks\n\n[size-badge]: https://img.shields.io/bundlejs/size/remark-breaks\n\n[size]: https://bundlejs.com/?q=remark-breaks\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/remarkjs/remark/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[health]: https://github.com/remarkjs/.github\n\n[contributing]: https://github.com/remarkjs/.github/blob/main/contributing.md\n\n[support]: https://github.com/remarkjs/.github/blob/main/support.md\n\n[coc]: https://github.com/remarkjs/.github/blob/main/code-of-conduct.md\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[hast]: https://github.com/syntax-tree/hast\n\n[mdast-break]: https://github.com/syntax-tree/mdast#break\n\n[rehype]: https://github.com/rehypejs/rehype\n\n[remark]: https://github.com/remarkjs/remark\n\n[typescript]: https://www.typescriptlang.org\n\n[unified]: https://github.com/unifiedjs/unified\n\n[unified-transformer]: https://github.com/unifiedjs/unified#transformer\n\n[wiki-xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[api-remark-breaks]: #unifieduseremarkbreaks\n","_attachments":{},"homepage":"https://github.com/remarkjs/remark-breaks#readme","bugs":{"url":"https://github.com/remarkjs/remark-breaks/issues"},"license":"MIT"}