New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cpf-check

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpf-check - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc