Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "cpf-check", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Validador de CPF Moderno, Isomórfico e Super Leve.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -12,2 +12,3 @@ # cpf-check | ||
<script type="text/javascript" src="./node_modules/cpf-check/dist/cpf.min.js"></script> | ||
// window.CPF | ||
``` | ||
@@ -18,3 +19,3 @@ Or, you can import it in your module bundler of choice: | ||
// or | ||
// or, in ES6 | ||
@@ -40,2 +41,3 @@ import CPF from 'cpf-check'; | ||
### CPF.generate(): String | ||
Generates valid CPF's: | ||
```javascript | ||
@@ -47,2 +49,3 @@ CPF.generate(); | ||
### CPF.parse(String): String | ||
Parse CPF's from text strings: | ||
```javascript | ||
@@ -56,2 +59,3 @@ const myText = 'Hey, my CPF is 676.754.677-10'; | ||
### CPF.format(String): String | ||
Format (beautify) CPF strings: | ||
```javascript | ||
@@ -65,2 +69,3 @@ const myCpf = '67675467710'; | ||
### CPF.strip(String): String | ||
Strip (uglify) CPF strings: | ||
```javascript | ||
@@ -72,4 +77,9 @@ const myCpf = '676.754.677-10'; | ||
``` | ||
### Copyright and License | ||
## PRs | ||
And if you find something that is not working as supposed to, please, open a PR. | ||
## Bonus! | ||
If you're curious to know how this module works before implementing it, the source code is heavily commented! head to [src/index.js](https://github.com/flasd/cpf-check/blob/master/src/index.js) to take a look! | ||
## Copyright and License | ||
Copyright (c) 2017 [Marcel Coelho](https://github.com/flasd) under the [MIT license](https://github.com/flasd/cpf-check/blob/master/LICENSE.md) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38320
78
0