222 packages found
Truncate a string to a specific width in the terminal
Truncate string to given length in bytes
Common typescript ready prototypes available in both CommonJS and ECMAScript
- server-side
- client-side
- common
- typescript
- prototype
- array
- all
- any
- append
- average
- chunk
- clone
- compact
- contains
- View more
Round a double-precision floating-point number toward zero.
- stdlib
- stdmath
- mathematics
- math
- math.trunc
- trunc
- truncate
- round
- integer
- number
- special function
- special
- function
- polyfill
Left and right string padding with advanced features.
Tag-safe truncation for HTML and XML. Works by word!
The lodash method `_.truncate` exported as a module.
Round a single-precision floating-point number toward zero.
- stdlib
- stdmath
- mathematics
- math
- math.trunc
- trunc
- truncate
- round
- integer
- number
- special function
- special
- function
- polyfill
Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
Round a numeric value to the nearest power of two toward zero.
Round a numeric value to the nearest power of 10 toward zero.
Round a numeric value to the nearest multiple of 10^n toward zero.
Round a numeric value to the nearest multiple of b^n toward zero.
Round each element in a single-precision floating-point strided array toward zero.
Create an iterator which rounds each iterated value toward zero.
Round each element in a double-precision floating-point strided array toward zero according to a strided mask array.
- stdlib
- math.trunc
- trunc
- truncate
- round
- integer
- nearest
- value
- number
- double-precision
- double
- dbl
- float64
- float64array
- View more
Round each element in a single-precision floating-point strided array toward zero according to a strided mask array.
- stdlib
- math.trunc
- trunc
- truncate
- round
- integer
- nearest
- value
- number
- single-precision
- float
- flt
- float32
- float32array
- View more
Round each element in a strided array toward zero.
Create an iterator which rounds each iterated value to the nearest power of two toward zero.
Round each element in a double-precision floating-point strided array toward zero.