Search results
60 packages found
Long text truncation
Ngx Line Truncation is line truncation implementation for Angular that truncate text by user defined line number.
This package simply allows you to shorten strings to the required character length you input and concats a "..." to the end of the new string.
- string-shortner
- text
- shortner
- post
- preview
- react
- trim
- trimmer
- ellipsis
- slice
- string
- customization
- customisation
- text length customization
Line Truncation is a zero dependency tool that truncate text by user defined line number
React component based on the Shave text trimming algorithm.
Strip all UTF-8 byte order marks (BOM) from a string
Strip ANSI colors, attributes from a string
Strip UTF-8 byte order mark (BOM)
Fill the front of a number with the chosen padding.
Removes whitespace on left and right
A NPM command-line tool for reducing excessive blank characters in text files
Removes whitespace on the right
Removes whitespace on the left
Removes indent space from multiline strings
- identation
- unindent
- untab
- trim
- whitespace
- shift tab
- code block
- multiline text
- multiline string
- template literals
- template tags
- esm
- es module
- typescript
Converts a string that contains line feed characters into one that doesn't.
Extends string.js with extra functionality, like chalk and sprintf support.
Trims trailing spaces and tabspaces after each line and trims leading and trailing newlines in a file
由于element-ui的el-input使用v-model.trim去空格会导致输入时无法在内容前后输入空格,无法满足产品要求,因此设计了该v-input-trim指令。 使用v-model配合v-input-trim指令输入框, 失焦后会自动清除输入内容前后的所有空格。 也可支持原生input/textarea输入框,当然原生输入框建议可以直接用带trim修饰符指令v-model.trim进行去空格处理