cpf-prompt
v0.0.1
Published
CPF prompt with validation
Downloads
4
Maintainers
Readme
cpf-prompt
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
- credit-card-prompt — Credit card prompt with validation and address lookup
License
MIT © Bu Kinoshita