npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "truncate" 的结果(共 8 个)
truncate-utf8-bytes

Truncate string to given length in bytes

WTFPL
cli-truncate

Truncate a string to a specific width in the terminal

MIT
tiny-truncate

A tiny function for truncating a string which may containg ANSI escapes, with automatic terminal width detection.

MIT
lodash.truncate

The lodash method `_.truncate` exported as a module.

MIT
semver-truncate

Truncate a semver version: `1.2.3` → `1.2.0`

MIT
fast-string-truncated-width

A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.

MIT
set-blocking

set blocking stdio and stderr ensuring that terminal output does not truncate

ISC
ansi-truncate

A tiny function for truncating a string that may contain ANSI escape sequences.

MIT