Search results

252 packages found

Strip leading whitespace from each line in a string

published version 4.0.0, 4 years ago1311 dependents licensed under $MIT
143,260,515

Strip redundant indentation and indent the string

published version 4.0.0, 4 years ago905 dependents licensed under $MIT
112,384,959

Get the shortest leading whitespace from lines in a string

published version 1.0.1, 5 years ago803 dependents licensed under $MIT
96,810,564

micromark factory to parse markdown whitespace (found in lots of places)

published version 2.0.1, 7 months ago38 dependents licensed under $MIT
36,787,988

hast utility to check if a node is inter-element whitespace

published version 3.0.0, 2 years ago58 dependents licensed under $MIT
30,014,379

Check if a character is a whitespace character

published version 2.0.1, 4 years ago71 dependents licensed under $MIT
9,349,866

remark plugin to remove empty paragraphs

published version 6.0.0, 2 years ago114 dependents licensed under $MIT
6,191,869

mdast utility to remove empty paragraphs from a tree

published version 6.0.0, 2 years ago41 dependents licensed under $MIT
6,207,548

Returns true if the value passed is all whitespace.

published version 0.3.0, 10 years ago15 dependents licensed under $MIT
5,241,364

Similar to String#trim() but removes only newlines

published version 1.0.3, 4 years ago114 dependents licensed under $MIT
3,556,936

Format whitespace in a SQL query to make it more readable

published version 15.6.2, 8 days ago434 dependents licensed under $MIT
4,128,288

A React wrapper component around signature_pad. 100% test coverage, types, examples, & more. Unopinionated and heavily updated fork of react-signature-pad

published version 1.1.0-alpha.2, 2 months ago362 dependents licensed under $Apache-2.0
1,411,827

A tiny library for trimming whitespace from a canvas element

published version 0.1.2, 8 years ago26 dependents licensed under $Apache-2.0
1,370,342

rehype plugin to collapse whitespace

published version 6.0.2, 8 months ago49 dependents licensed under $MIT
1,246,443

List of whitespace sensitive HTML tag names

published version 3.0.1, 8 months ago12 dependents licensed under $MIT
983,436

lexing json

published version 1.2.0, 3 years ago9 dependents licensed under $ISC
845,795

Trim the whitespace within an array of GLSL tokens

published version 1.0.0, 10 years ago5 dependents licensed under $MIT
1,120,863

hast utility to get the plain-text value of a node

published version 1.0.1, 8 months ago2 dependents licensed under $MIT
1,100,840

Safely remove repeating whitespace from HTML text.

published version 1.0.0, 6 years ago20 dependents licensed under $MIT
613,600

CSS minifier for Broccoli, using clean-css

published version 2.0.1, 8 years ago6 dependents licensed under $MIT
608,352