mirror of
https://github.com/soconnor0919/beenpad.git
synced 2026-02-05 00:06:40 -05:00
Add package publishing
This commit is contained in:
@@ -5,13 +5,13 @@ It's like `leftpad`, but it appends the string "been" to the left.
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
npm install beenpad
|
||||
npm install @soconnor0919/beenpad
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
import { beenpad } from 'beenpad';
|
||||
import { beenpad } from '@soconnor0919/beenpad';
|
||||
|
||||
// Pad to length 7
|
||||
console.log(beenpad('foo', 7));
|
||||
|
||||
Reference in New Issue
Block a user