Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "left-pad", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "String left pad", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,3 +18,3 @@ ## left-pad | ||
```js | ||
leftPad = require('left-pad') | ||
const leftPad = require('left-pad') | ||
@@ -27,3 +27,3 @@ leftPad('foo', 5) | ||
leftPad(1, 2, 0) | ||
leftPad(1, 2, '0') | ||
// => "01" | ||
@@ -35,3 +35,5 @@ | ||
**NOTE:** The third argument should be a single `char`. However the module doesn't throw an error if you supply more than one `char`s. See [#28](https://github.com/stevemao/left-pad/pull/28). | ||
[travis-image]: https://travis-ci.org/stevemao/left-pad.svg?branch=master | ||
[travis-url]: https://travis-ci.org/stevemao/left-pad |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4237
37