left-shark

0.0.1 • Public • Published

left-shark

It's like left-pad, except the examples have sharks.

Installation

npm install --save left-shark

Usage

> const leftShark = require('left-shark')
> console.log(leftShark('|\\ ', 23))
                    |\
> console.log(leftShark('|\\ ', 23, '~'))
~~~~~~~~~~~~~~~~~~~~|\

Wait, what?

This is using lodash.padstart under the hood because JDD said Sup.

Dependents (0)

Package Sidebar

Install

npm i left-shark

Weekly Downloads

1

Version

0.0.1

License

Apache-2.0

Last publish

Collaborators

  • rgbkrk