open-index/open-npm huggingface dataset:
npm package: @lyo/left-pad
Description: Browser-compatible version of left-pad
Latest version: 1.3.0

# @lyo/left-pad

A browser-compatible version of [left-pad](https://www.npmjs.com/package/left-pad) built automatically with [Lyo](https://github.com/bokub/lyo).

[![Version](https://flat.badgen.net/npm/v/@lyo/left-pad)](https://www.npmjs.com/package/@lyo/left-pad)
[![Build](https://bokub.github.io/lyo/badge-flat.svg)](https://www.npmjs.com/package/@lyo/left-pad)
[![Hits](https://data.jsdelivr.com/v1/package/npm/@lyo/left-pad/badge)](https://www.jsdelivr.com/package/npm/@lyo/left-pad)

## Usage

#### In a browser
```html
<script src="https://cdn.jsdelivr.net/npm/@lyo/left-pad"></script>

<script>
  leftPad(foo, bar, baz);
</script>
```

#### In Node.js

```sh
# Install
npm i @lyo/left-pad
```

```js
const leftPad = require('@lyo/left-pad')

leftPad(foo, bar, baz);
```

## Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk