Search results

277 packages found

Maps lines and columns to character offsets and back.

published version 2.0.4, 2 years ago1534 dependents licensed under $MIT
276,102,144

Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.

published version 1.1.1, 7 years ago304 dependents licensed under $MIT
21,962,284

Extract the actual stack of an error

published version 3.0.0, 4 years ago18 dependents licensed under $MIT
4,346,524

Fill a polygon with lines

published version 0.5.2, 2 years ago2 dependents licensed under $MIT
3,477,831

Iterator over lines in a string

published version 1.1.0, 10 years ago4 dependents licensed under $MIT
1,773,012

Split lines into an array of lines

published version 3.0.0, 4 years ago90 dependents licensed under $MIT
782,508

Read in the last N lines of a file efficiently using node.js and fs.

published version 1.8.0, 5 years ago119 dependents licensed under $MIT
489,547

remark-lint rule to warn for too many consecutive blank lines

published version 5.0.1, 6 months ago26 dependents licensed under $MIT
460,848

A PassThrough stream that keeps track of last line written

published version 1.0.0, 10 years ago7 dependents licensed under $MIT
421,205

Reliably get the terminal window size (columns & rows)

published version 4.0.0, 2 years ago39 dependents licensed under $MIT
399,706

A parser for SVG's path syntax

published version 1.1.0, 8 years ago56 dependents licensed under $MIT
356,215

Draw arrows (or lines) between components in React!

published version 2.0.2, 4 years ago37 dependents licensed under $MIT
209,672

Pad each line in a stream

published version 4.0.0, 3 years ago10 dependents licensed under $MIT
205,572

triangulates a 2D polyline into a stroke

published version 1.0.6, 11 years ago11 dependents licensed under $MIT
148,226

Trim leading lines from a string when they are 100% whitespace or empty.

published version 0.1.1, 9 years ago3 dependents licensed under $MIT
157,112

Remove blank lines from a string.

published version 1.4.2, 5 months ago8 dependents licensed under $MIT
71,772

Node module for inserting lines to an existing file

published version 1.1.0, 8 years ago26 dependents licensed under $MIT
51,483

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

published version 4.1.4, 8 years ago10 dependents licensed under $MIT
92,587

A <Dash /> component for react-native to draw dashed or dotted lines

published version 0.0.11, 6 years ago27 dependents licensed under $MIT
61,218

Dissolve contiguous GeoJSON LineStrings and Polygons into single units.

published version 3.1.0, 8 years ago6 dependents licensed under $ISC
37,530