UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

9 lines (6 loc) 205 B
import { pad as pad$1 } from '../../string/pad.mjs'; import { toString } from '../util/toString.mjs'; function pad(str, length, chars) { return pad$1(toString(str), length, chars); } export { pad };