{"id":20657632,"url":"https://github.com/nerdify/dnic","last_synced_at":"2025-04-19T12:55:03.320Z","repository":{"id":36414567,"uuid":"210179638","full_name":"nerdify/dnic","owner":"nerdify","description":"Validador de Documento Nacional de Identidad (DNI/Cedula) Nicaraguense.","archived":false,"fork":false,"pushed_at":"2023-12-15T02:30:09.000Z","size":1385,"stargazers_count":5,"open_issues_count":10,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T12:53:52.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerdify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-22T16:35:12.000Z","updated_at":"2023-08-15T16:08:26.000Z","dependencies_parsed_at":"2023-12-15T03:32:20.150Z","dependency_job_id":"445396f0-45c4-4b81-828a-c348972e4bbd","html_url":"https://github.com/nerdify/dnic","commit_stats":{"total_commits":47,"total_committers":6,"mean_commits":7.833333333333333,"dds":0.574468085106383,"last_synced_commit":"898b59765a7f80543529a26eb37f3d5b08294136"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdify%2Fdnic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdify%2Fdnic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdify%2Fdnic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdify%2Fdnic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdify","download_url":"https://codeload.github.com/nerdify/dnic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249699448,"owners_count":21312400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T18:21:56.982Z","updated_at":"2025-04-19T12:55:03.291Z","avatar_url":"https://github.com/nerdify.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dnic - Javascript\n\nValidador de Número de Documento Nacional de Identidad (DNI/Cédula) Nicaragüense.\n\nValidador de Numero de Documento Nacional de Identidad (DNI/Cedula) Nicaragüense.\n\nEsctructura del DNI:\n\n\u003col\u003e\n  \u003cli\u003eLos primeros 3 dígitos identifican el municipio.\u003c/li\u003e\n  \u003cli\u003eLos siguientes 6 dígitos corresponden a la fecha de nacimiento.\u003c/li\u003e\n  \u003cli\u003eLos últimos dígitos es el número de producción.\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cimg src=\"https://i.ibb.co/YX8Tk1n/descarga.jpg\" /\u003e\n\n## Uso\n\nimport dnic, {validate, validateDate, getMunicipalities} from '@nerdify/dnic'\n\nconst dni = '281-140891-0022V';\n\ndnic.isValid(dni); // true\n\nvalidate(dni); // true\n\ngetMunicipalities(dni); // Leon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdify%2Fdnic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdify%2Fdnic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdify%2Fdnic/lists"}