JSPM

Found 185 results for newline

word-wrap

Wrap words to a specified length.

  • v1.2.5
  • 104.43
  • Published

strip-final-newline

Strip the final newline character from a string or Uint8Array

  • v4.0.0
  • 104.01
  • Published

detect-newline

Detect the dominant newline character of a string

  • v4.0.1
  • 99.76
  • Published

trim-newlines

Trim newlines from the start and/or end of a string

  • v5.0.0
  • 95.29
  • Published

write-json-file

Stringify and write JSON to a file atomically

  • v6.0.0
  • 90.62
  • Published

eol

Newline character converter

  • v0.10.0
  • 87.04
  • Published

remark-breaks

remark plugin to add break support, without needing spaces

  • v4.0.0
  • 81.98
  • Published

trim-off-newlines

Similar to String#trim() but removes only newlines

  • v1.0.3
  • 80.18
  • Published

@stdlib/regexp-eol

Return a regular expression to match a newline character sequence.

  • v0.2.2
  • 78.58
  • Published

split-lines

Split lines into an array of lines

  • v3.0.0
  • 74.37
  • Published

remark-lint-final-newline

remark-lint rule to warn when a newline at the end of a file is missing

  • v3.0.1
  • 72.20
  • Published

normalize-newline

Normalize the newline characters in a string to `\n`

  • v4.1.0
  • 71.88
  • Published

crlf-normalize

Detect and Normalize the newline characters

  • v1.0.20
  • 71.03
  • Published

eslint-plugin-better-tailwindcss

auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.

  • v3.7.6
  • 66.90
  • Published

last-line-stream

A PassThrough stream that keeps track of last line written

  • v1.0.0
  • 66.73
  • Published

single-trailing-newline

Ensure a string has a single trailing newline based off it's dominant newline character.

  • v1.0.0
  • 65.27
  • Published

linez

Parses lines from text, preserving line numbers, offsets and line endings.

  • v4.1.4
  • 64.73
  • Published

js-jsonl

jsonl.parse() and jsonl.stringify()

  • v1.1.1
  • 64.58
  • Published

count-lines

Count the lines in a string, works with windows carriage returns or unix style newlines.

  • v0.1.2
  • 60.03
  • Published

char-split

splits an stream on a character (e.g. \n) and emits the strings in between

  • v0.2.0
  • 58.46
  • Published

gulp-eol

Replace or append EOL end of file

  • v0.2.0
  • 57.43
  • Published

@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.

  • v3.0.1-cjs.0
  • 56.41
  • Published

linerstream

Split a readable stream by newline characters

  • v0.2.0
  • 55.39
  • Published

selective-whitespace

Condense all string whitespace + options to preserve specific whitespace characters.

  • v1.0.4
  • 54.54
  • Published

detect-eol

Quickly detect the EOL used in a string.

  • v3.0.1
  • 52.73
  • Published

eol-converter-cli

Newline converter CLI for simple CRLF -> LF (and reverse) convertions of multiple files.

  • v1.1.0
  • 52.30
  • Published

nl2br

A NodeJS module for converting newlines to line breaks

  • v0.0.3
  • 49.54
  • Published

dos2unix

A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.

  • v1.1.2
  • 48.83
  • Published

line-count

Count the lines in a string.

  • v0.1.0
  • 46.20
  • Published

newline-regex

Regex for newline characters

  • v0.2.1
  • 44.50
  • Published

is-newline

Determine whether a given string is a newline character.

  • v1.0.0
  • 44.18
  • Published

react-format-text

Simple link and newline text formatting for react

  • v1.1.1
  • 43.76
  • Published

react-newline-to-break

Convert newlines '\n' to break '< brreact-newline-to-break >'. Made for React

  • v1.0.6
  • 43.33
  • Published

@derhuerst/br2nl

Replace HTML <br> tags with newline characters.

  • v1.0.0
  • 42.27
  • Published

eslint-plugin-newline

ESLint plugin to enforce newlines in ES6 object destructuring or import

  • v1.5.0
  • 40.63
  • Published

newline-remove

Strip all newlines from the given string.

  • v1.0.2
  • 39.54
  • Published

on-new-line

Hijacks NodeJS Stream and emits events when newline(s) written to the output.

  • v1.0.0
  • 37.08
  • Published

json-to-jsonl

Convert an array in a .json file to a newline-delimited .jsonl file.

  • v1.1.0
  • 36.87
  • Published

jsonl

Transform a stream of JSON into a stream of Line Delimited JSON

  • v1.1.2
  • 35.79
  • Published

grunt-endline

add newline at end of file

  • v0.7.0
  • 35.36
  • Published

jlick

Streaming configurably terminated (simple) JSON parser

  • v0.0.4
  • 35.08
  • Published

cr

Strip windows carriage returns, or convert carriage returns to newlines.

  • v0.1.0
  • 34.80
  • Published

multiline-template

Multiline tagged templates using pipes | to signal line start, no more crazy indent hacks.

  • v1.1.0
  • 34.18
  • Published

json-merge

given two streams of newline delimited JSON data perform a merge/extend on each object in the stream

  • v1.2.0
  • 33.71
  • Published

strip-lines

Remove n lines from the beginning of a string

  • v1.0.1
  • 32.99
  • Published

get-line

Getting a specific line of data or a range of data, and it is a stream.

  • v0.1.2
  • 30.93
  • Published

linewise

Splits a stream into lines

  • v0.0.3
  • 30.93
  • Published

qfgets

fast bufferd line-at-a-time input

  • v1.1.1
  • 30.56
  • Published

file-normalize

File system utils for normalizing things like eol, encoding and BOM.

  • v1.1.2
  • 30.51
  • Published

newline-br

Prepend `<br>` to newlines in a string

  • v2.0.0
  • 30.29
  • Published

jsuck

Streaming (optionally) newline/whitespace delimited JSON parser

  • v0.0.5
  • 29.93
  • Published

eslint-plugin-no-empty-first-line

- [pt-BR] - 🚫 ESLint plugin que impede arquivos de começarem com uma linha em branco. - [en] - 🚫 ESLint plugin that prevents files from starting with an empty line.

    • v1.0.5
    • 28.58
    • Published

    ld-jsonstream

    Simple and secure newline delimited JSON stream parser

    • v3.0.0
    • 27.41
    • Published

    new-line

    simple new line stream for node.js stream2

    • v1.1.1
    • 26.43
    • Published

    lines-unlines

    Haskell's lines and unlines in TypeScript.

    • v1.0.0
    • 25.96
    • Published

    gpt-newline

    A tiny library that queries OpenAI with 'Reply to this message with nothing.'

      • v1.0.2
      • 25.66
      • Published

      @dpwolfe/dos2unix

      A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.

      • v1.1.3
      • 25.64
      • Published

      gulp-eol-enforce

      Enforces proper line endings for files

      • v1.0.0
      • 24.88
      • Published

      universal-eol

      get the EOL char in both nodejs and browser environment

      • v0.0.3
      • 24.03
      • Published

      join-newlines

      Join an array of strings with newlines

      • v2.0.2
      • 22.34
      • Published

      blank-line

      get min/mid/max blank line length in text ( not include start/end line )

      • v2.0.8
      • 22.01
      • Published

      add-newlines

      Add newlines to the end of files that don't yet have them

      • v0.2.0
      • 21.41
      • Published

      qlogger

      very fast easily customizable logger

      • v1.9.1
      • 21.37
      • Published

      qfputs

      very fast write-combining bufferd output

      • v1.8.2
      • 20.76
      • Published

      jsx-linebreak

      Break a string to lines at newlines, and either wrap each line by a configurable wrapper or append a <br /> to each line.

      • v1.0.15
      • 19.05
      • Published

      angular-nl2br-filter

      Angular 1.x filter that converts newlines to `<br>`-tags.

      • v1.0.3
      • 18.84
      • Published

      emoji-line-break

      Split emoji text into multiple lines.

      • v1.1.2
      • 18.15
      • Published

      gulp-preserve-typescript-whitespace

      A gulp plugin that preserves empty lines and multiple spaces in source files compiled from TypeScript to JavaScript.

      • v1.0.3
      • 17.56
      • Published

      ndjsonpoint

      Parse each line in a stream as separate JSON strings

      • v1.0.2
      • 16.25
      • Published

      remark-tight-comments

      remark plugin to selectively remove newlines around comments

      • v2.0.0
      • 15.67
      • Published

      bsplit2

      A binary transform stream splitting chunks by newline characters

      • v1.0.2
      • 14.28
      • Published

      mdast-util-tight-comments

      mdast-util-to-markdown extension to selectively remove newlines around mdast comment nodes

      • v2.0.0
      • 11.83
      • Published

      eclinter

      Validate that doesn't adhere to EditorConfig settings

      • v1.0.0-alpha.1
      • 11.59
      • Published

      brify

      replaces `\n` with `<br/>` in a string

      • v1.0.3
      • 11.50
      • Published

      linefold

      Convert given text into folded lines with maximum width and given font / given text length measuring function before rendering, so as to render paragraphs onto platforms without line-folding support, e.g. HTML5 Canvas.

      • v1.0.15
      • 11.07
      • Published

      gulp-condense

      Remove extra newlines in a string.

      • v0.1.0
      • 10.85
      • Published

      regex-eol

      Regular expression to split a newline delimited string.

      • v1.0.0
      • 10.62
      • Published

      @raider/dos2unix

      A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.

      • v0.15.0
      • 10.43
      • Published

      add-final-newline

      ![CI](https://github.com/mk2/add-final-newline/workflows/CI/badge.svg)

      • v0.9.4
      • 10.42
      • Published

      slice-lines

      Extract a subset of lines from a string efficiently

      • v1.0.3
      • 9.99
      • Published

      eol-utils

      Easy-to-use regex functions to format line breaks as Carriage Return Line Feed _CR LF_ (Windows), Line Feed _LF_ (Unix) and Carriage Return _CR_ (Mac OS <= 9).

        • v1.0.1
        • 9.99
        • Published

        breaklines

        A utility to easily replace \n with <br> in single-line strings (such as from JSON data)

        • v1.0.1
        • 9.80
        • Published

        newliner

        Coda 2 Plugin to ensure a newline at the EOF

        • v1.0.3
        • 8.97
        • Published

        text-tailor

        Trims trailing spaces and tabspaces after each line and trims leading and trailing newlines in a file

        • v1.0.10
        • 8.90
        • Published

        remove-tabs

        Remove tabs which are added between multi-line template strings by using tagged

        • v0.1.0
        • 8.83
        • Published

        nl2br-x

        JS module for converting newlines to line breaks in BEMHTML and BEMTREE syntaxe

        • v0.1.2
        • 7.88
        • Published

        ndjson-web

        NDJSON parser + serializer using web streams

        • v1.1.0
        • 7.73
        • Published

        buffer.lines

        adds "line" events to streams

          • v1.0.1
          • 7.73
          • Published

          @mptrv/my-component-library

          React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

            • v0.0.14
            • 7.73
            • Published

            grunt-file-minify

            A plugin for simple file minification by removing extra whitespaces, tabs and newline characters.

            • v1.0.0
            • 7.35
            • Published

            react-break-newlines

            Break a string to lines at newlines, and either wrap each line by a configurable wrapper or append a `<br />` to each line.

            • v0.0.3
            • 7.28
            • Published

            newline-converter-cli

            Newline converter CLI for simple CRLF -> LF (and reverse) convertions of multiple files.

            • v1.0.5
            • 6.98
            • Published

            word-wrap-next

            Wrap words to a specified length.

            • v1.2.11
            • 6.32
            • Published

            postcss-between

            PostCSS plugin that handles spacing between blocks for a more readable stylesheet

            • v1.0.6
            • 6.25
            • Published

            newlinepoint

            Normalize or convert newlines

            • v0.2.0
            • 6.25
            • Published

            trailing-newline

            Check whether a string ends with a newline

            • v1.0.0
            • 5.07
            • Published

            jspit

            Streaming configurably terminated JSON serialiser

            • v0.0.4
            • 4.11
            • Published

            noline

            Remove trailing newline characters from files.

              • v0.0.1
              • 4.11
              • Published

              react-multiline-placeholder

              Returns a textarea element after replacing newline characters ( ) with literal new lines; applies to placeholders and default values.

                • v1.0.1
                • 4.03
                • Published

                newlinetostring

                takes a string and appends or prepends a new line to it depending on an optional boolean passed in

                • v0.0.1
                • 3.98
                • Published

                one-line-print

                Print text to the same line in console

                • v1.0.0
                • 3.98
                • Published

                n-lines

                Add any number of newlines to a string

                • v1.0.5
                • 3.94
                • Published

                remark-image-desc

                This project can convert markdown img title into html description text.

                • v0.0.8
                • 3.94
                • Published

                @freik/dos2unix

                A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using `dos2unix`.

                • v0.1.0
                • 3.94
                • Published

                json-stringified-stream

                Transform stream accepting a JSON string to parse and stringify with an optional delimiter.

                • v0.2.0
                • 3.86
                • Published

                node-fullwidth-stdout

                Format a string for stdout to be the full width of a terminal window

                • v1.0.0
                • 2.48
                • Published

                strip-newline-salesforce

                Strip EOF newline characters. Useful where Prettier and Salesforce are used together.

                • v1.0.0
                • 2.48
                • Published

                nwlnr

                A simple node module for splitting string input by new line.

                • v0.0.1
                • 2.40
                • Published

                nlstream

                newline-delimited JSON stream

                  • v0.0.1
                  • 2.40
                  • Published

                  newline-stream

                  Read and process a stream delimited by newlines

                  • v0.0.1
                  • 2.38
                  • Published

                  nl2a

                  ES2015 tagged template string to create arrays from strings with new lines

                  • v2.0.2
                  • 2.38
                  • Published

                  gulp-newline-br

                  Gulp plugin to prepend newlines with html `<br>` tags

                  • v1.0.1
                  • 2.38
                  • Published

                  potted-plants-components-library

                  React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                    • v1.0.0
                    • 2.36
                    • Published

                    @luluwheelan/component-library

                    React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                      • v0.0.1
                      • 2.36
                      • Published

                      nan-example-eol

                      newline detection in Node.JS streams implemented as native addon

                      • v0.1.1
                      • 2.33
                      • Published

                      @rishinarang/component-library

                      React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                        • v1.0.1
                        • 2.31
                        • Published

                        noeol

                        A tiny utility that pipes stdin to stdout, but leaves out the trailing newline if there is one.

                        • v1.0.5
                        • 2.31
                        • Published

                        grunt-newline-br

                        Prepend a `<br>` tag before newlines

                        • v1.0.0
                        • 2.31
                        • Published

                        textwithnewlines

                        A React Component for turning text with newlines into semantic paragraphs

                        • v1.1.0
                        • 2.26
                        • Published

                        stream-newline

                        Ensure stream ends with a newline

                        • v1.0.0
                        • 2.24
                        • Published

                        multiline-placeholder

                        Transforms newline characters (\n) into literal new lines for both placeholders and default values for textareas.

                          • v1.0.0
                          • 0.00
                          • Published

                          custom-remark-breaks

                          remark plugin to add break support, without needing spaces

                          • v3.0.3-beta
                          • 0.00
                          • Published

                          @omneedia/jsuck

                          Streaming (optionally) newline/whitespace delimited JSON parser

                          • v0.0.6
                          • 0.00
                          • Published

                          @manoky/components-lib

                          React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                            • v0.0.1
                            • 0.00
                            • Published

                            @bscotch/l10n-breaks

                            Helpers for preprocessing text to determine linebreak locations.

                            • v0.2.1
                            • 0.00
                            • Published

                            kz-word-wrap

                            Wrap words to a specified length.

                            • v1.2.5
                            • 0.00
                            • Published

                            @cf62/docomp

                            React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                              • v0.0.3
                              • 0.00
                              • Published

                              newlinechar

                              This package is used to replace new lines with new line character and vice versa.

                                • v1.0.0
                                • 0.00
                                • Published

                                @rohitmalhotra1420/figmagic-component-library

                                React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                                  • v1.0.0
                                  • 0.00
                                  • Published

                                  eslint-plugin-modules-newline-fixed

                                  Enforce placing import or export variables on a newline. Forked from https://github.com/gmsorrow/eslint-plugin-modules-newline

                                  • v0.1.1
                                  • 0.00
                                  • Published

                                  @soultrust/my-component-library

                                  React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                                    • v0.0.1
                                    • 0.00
                                    • Published

                                    vertical-pad

                                    Pad the number of lines in a string.

                                      • v1.0.0
                                      • 0.00
                                      • Published

                                      @hretheum/components-lib

                                      React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                                        • v1.0.0
                                        • 0.00
                                        • Published

                                        gitguti-potted-plants-components-starter

                                        React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                                          • v0.0.1
                                          • 0.00
                                          • Published

                                          @revalo/component-library

                                          React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                                            • v0.0.1
                                            • 0.00
                                            • Published

                                            @scoh/potted-plants-component-library

                                            React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                                              • v0.0.1
                                              • 0.00
                                              • Published

                                              @daniel_y/components-start

                                              React component library with components generated and/or composed with Figmagic. Made for The newline Guide to React Component Design Systems with Figmagic.

                                                • v0.0.1
                                                • 0.00
                                                • Published

                                                rollup-plugin-eol

                                                A Rollup plugin for normalizing line endings in rollup output files, rollup watcher files and/or a custom glob pattern of files

                                                • v1.0.0
                                                • 0.00
                                                • Published