Socket
Book a DemoInstallSign in
Socket

validar-nit-gt

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validar-nit-gt

Indica la validez de un texto como Número de Identificación Tributaria (NIT) en Guatemala.

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
125
115.52%
Maintainers
1
Weekly downloads
 
Created
Source

validar-nit-gt

Indica la validez de un texto como Número de Identificación Tributaria (NIT) en Guatemala. El NIT puede ser enviado con o sin guiones y la respuesta puede ser un boolean o un objeto con el NIT limpio.

Instalación

npm install --save validar-nit-gt

Ejemplo

Recibiendo una respuesta true/false

import validarNIT from 'validar-nit-gt'

const valido = validarNIT('3602978-5')

valido = true

Recibiendo un objeto con el NIT limpio y resultado

import validarNIT from 'validar-nit-gt'

const resultado = validarNIT('3602978k', {limpiar: true})

resultado = { nit: '3602978-K', resultado: true }

Keywords

validar

FAQs

Package last updated on 20 Feb 2021

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.