cpf-prompt

0.0.1 • Public • Published

cpf-prompt Build Status

CPF prompt with validation

Install

$ npm install --save cpf-prompt

Usage

const cpfPrompt = require('cpf-prompt')

cpfPrompt().then(({ cpf }) => cpf)
// => '623.267.215-19'
// => It returns the CPF input.

Demo

API

cpfPrompt()

Returns a promise

Related

License

MIT © Bu Kinoshita

Package Sidebar

Install

npm i cpf-prompt

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • bukinoshita