Displaying 1 to 17 from 17 results

split-lines - Split lines into an array of lines

  •    Javascript

String to split.Preserve the line separator at the end of every line, except the last line, which will never contain one.




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

  •    Javascript

To get the results you expect, you will likely need to know the structure of your incoming data. You may have to pass a depth property, which corresponds to the layer of the property in a serialized, nested JSON object.By default, jsonl will use a depth of 1 when reading data from a Buffer stream (expecting objects to be nested in an array), and a depth of 0 from a stream in object mode.

detect-newline - Detect the dominant newline character of a string

  •    Javascript

Returns detected newline or null when no newline character is found.Returns detected newline or \n when no newline character is found.


eol - JavaScript newline character converter

  •    Javascript

Newline character converter for JavaScript. Available on npm. Coercing eol.auto|eol.crlf|eol.lf|eol.cr to string yields the appropriate character. This is useful for joining.

slice-lines - Fast algorithm for extracting a subset of lines from a string

  •    Javascript

Very efficient module for extracting a subset of lines from a string. Similar to str.slice(beginIndex, endIndex) except that the indexes are lines instead of bytes.

brackets-editorconfig - Brackets extension for supporting EditorConfig features

  •    Javascript

EditorConfig helps developers maintain consistent coding styles between different editors. Based on @MiguelCastillo's Brackets-wsSanitizer and utilizing EditorConfig JavaScript Core library.

node-dos2unix - A Node

  •    Javascript

A Node.js module to convert text files with DOS line breaks to Unix line breaks, i.e. like using dos2unix. The module also supports cross-platform globbing patterns. In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

eclint - Validate or fix code that doesn't adhere to EditorConfig settings or infer settings from existing code

  •    TypeScript

ECLint is a tool for validating or fixing code that doesn't adhere to settings defined in .editorconfig. It also infers settings from existing code. See the EditorConfig Project for details about the .editorconfig file. This version of ECLint runs on EditorConfig Core 0.15.x.

multiline-template - Multiline tagged templates using a pipe |, followed by a space, to signal line start, no more crazy indent hacks

  •    Javascript

Multiline tagged templates using a pipe |, followed by a space, to signal line start, no more crazy indent hacks. Using Tagged Template Literals, you use the pipe | plus one space immediately after to signal where you want to line to start.