Socket
Book a DemoInstallSign in
Socket

@brazilian-utils/generate-cpf

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brazilian-utils/generate-cpf

Generates a valid CPF

0.1.5
latest
Source
npmnpm
Version published
Maintainers
3
Created
Source

@brazilian-utils/generate-cpf

Generates a valid CPF

Installation

# Yarn
yarn add @brazilian-utils/generate-cpf

# npm
npm install @brazilian-utils/generate-cpf --save

# UMD
<script type='text/javascript' src='https://unpkg.com/@brazilian-utils/generate-cpf/dist/index.umd.js'></script>

Usage

import generateCpf from '@brazilian-utils/generate-cpf';

generateCpf(); // return a valid CPF
generateCpf({ state: 'BA' }); // return a valid CPF from Bahia state
generateCpf({ state: 'RJ' }); // return a valid CPF from Rio de Janeiro state

Keywords

cpf

FAQs

Package last updated on 03 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.