Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
strip-final-newline
Strip the final newline character from a string or Uint8Array
detect-newline
Detect the dominant newline character of a string
trim-newlines
Trim newlines from the start and/or end of a string
split-lines
Split lines into an array of lines
normalize-newline
Normalize the newline characters in a string to `\n`
crlf-normalize
Detect and Normalize the newline characters
rocambole-linebreak
helpers for rocambole AST line break manipulation
single-trailing-newline
Ensure a string has a single trailing newline based off it's dominant newline character.
count-lines
Count the lines in a string, works with windows carriage returns or unix style newlines.
remark-lint-linebreak-style
remark-lint rule to warn when linebreaks violate a given or detected style
@esm2cjs/strip-final-newline
Strip the final newline character from a string/buffer. This is a fork of sindresorhus/strip-final-newline, but with CommonJS support.
htmlclean
Simple and safety HTML/SVG cleaner to minify without changing its structure.
nl2br
A NodeJS module for converting newlines to line breaks
line-count
Count the lines in a string.
eslint-plugin-newline
ESLint plugin to enforce newlines in ES6 object destructuring or import
gulp-htmlclean
Simple and safety HTML/SVG cleaner to minify without changing its structure.
ultimate-text-to-image
Generate UTF8 texts into image with auto line break for all international language, including Chinese, Japanese, Korean, etc..
@cjs-mifi-test/strip-final-newline
CJS version: Strip the final newline character from a string/buffer
eslint-plugin-better-tailwindcss
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
esformatter-limit-linebreaks
esformatter linebreak limit plugin