Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RUCMatch

RUCMatch is an application designed for the dynamic generation of Peruvian RUC numbers, especially for testing. With RUCMatch, users can quickly obtain a valid RUC number for use in testing or application testing.

Getting Started

Prerequisites

  • Node.js v10+
  • npm

Installation

Install from npm:

npm i rucmatch

Table of Contents

N° Función Dependencias
1 connectToInternalDatabase
2 getLastUpdate
3 unzipFile
4 insertData
5 formatCSV
6 updateData formatCSV, insertData
7 shouldDownload
8 downloadAndSaveZip
9 updateFromSunat getLastUpdate, shouldDownload, downloadAndSaveZip, unzipFile, updateData
10 matchFromLocalDB
11 getRandomRuc connectToInternalDatabase
12 isValidRuc
13 rucDisable connectToInternalDatabase
14 rucEnable connectToInternalDatabase
15 searchRuc isValidRuc, connectToInternalDatabase

Built With

  • Node.js
  • Sequelize
  • Cheerio
  • Adm-zip
  • Axios
  • csv-parser

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

🔛RUCMatch es una aplicación diseñada para la generación dinámica de números de RUC peruanos, especialmente para realizar pruebas o testing. Con RUCMatch, los usuarios pueden obtener rápidamente un número de RUC válidos para uso en pruebas o testing de aplicaciones.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages