ES6 implementation of the left-pad. NOTE: This is not a drop-in replacement.
[![Build Status][travis-image]][travis-url]
$ npm install left-pad-es6
const leftPad = require('left-pad-es6')
leftPad('foo', 5)
// => " foo"
leftPad('foobar', 6)
// => "foobar"
leftPad(1, 2, '0')
// => "01"
leftPad(17, 5, 0)
// => "00017"