2025-12-08 10:52:05 -05:00
2025-12-08 10:52:05 -05:00
2025-12-08 10:52:05 -05:00
2025-12-08 10:52:05 -05:00
2025-12-08 10:52:05 -05:00
2025-12-08 10:52:05 -05:00
2025-12-08 10:52:05 -05:00
2025-12-08 10:52:05 -05:00
2025-12-08 10:52:05 -05:00

beenpad

It's like leftpad, but it appends the string "been" to the left.

Installation

npm install beenpad

Usage

import { beenpad } from 'beenpad';

// Pad to length 7
console.log(beenpad('foo', 7));
// Output: "beenfoo"

// Pad to length 8
console.log(beenpad('foo', 8));
// Output: "beenbfoo"

// Pad to length 11
console.log(beenpad('foo', 11));
// Output: "beenbeenfoo"

License

ISC

Description
Its like leftpad, but it appends the string "been" to the left.
Readme 12 MiB
Languages
TypeScript 100%