JSPM

Found 28 results for trimming

printable-characters

A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, 💩, etc.

  • v1.0.42
  • 100.86
  • Published

dtrim

A tool for trimming deep/lenghty javascript structures. Some potential usages are: debugging, logging or data sanitization.

  • v1.12.0
  • 71.32
  • Published

@stdlib/string-trim

Trim whitespace characters from the beginning and end of a string.

  • v0.2.2
  • 44.46
  • Published

react-shave

React component based on the Shave text trimming algorithm.

  • v1.0.1
  • 17.59
  • Published

@lorens/texter

This tool fixes the text paragraphs by merging the lines, fixing list lines, removing empty lines, and trimming the lines. It also removes white spaces from the text and merges the lines with respect to punctuation marks such as periods (.), colons (:), a

  • v1.0.5
  • 17.45
  • Published

printable-characters-plus-directional

A little helper for handling strings containing zero width control characters, ANSI styling, whitespaces, newlines, etc.

  • v1.0.36
  • 14.25
  • Published

rmrf-css

A lean and thorough npm package for trimming unused CSS from CSS files based on the selectors matched in provided HTML files

  • v1.0.8
  • 10.87
  • Published

trimmiddle

This is a package that shortens strings like Finder on Mac does. Instead of trimming from the start or end it trims the string in the middle and adds a filler char.

  • v0.2.0
  • 8.28
  • Published

@stdlib/string-trim-cli

Trim whitespace characters from the beginning and end of a string.

  • v0.2.2
  • 7.42
  • Published

multitrim

multiline string trimming

  • v2.0.0
  • 7.14
  • Published

code-trimmer

code-trimmer will indent a given chunk of source code, started with unnecessarily added whitespaces or tabs, by trimming the tabs and white-spaces in a consistent way, scanning through line by line, written in Javascript. (and (maybe (Clojure(script)))

  • v0.0.6
  • 3.06
  • Published

number-trimmer

trims all numbers in an object with toFixed

  • v1.0.1
  • 3.01
  • Published

trimpng

A TypeScript function to remove transparent pixels from the borders of images

  • v1.1.0
  • 2.70
  • Published