Skip to content

Commit

Permalink
Create npm package + set GPLv3 license
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Jun 24, 2019
1 parent 65cdb89 commit 8ec0d11
Show file tree
Hide file tree
Showing 8 changed files with 4,869 additions and 12,890 deletions.
1,028 changes: 674 additions & 354 deletions LICENSE

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
Códigos de Ubicación Geográfica del Perú
========================================

[Demo](http://angelfqc.online/ubigeo-peru/)

# Ubigeo

> El código UBIGEO es un número de seis cifras, el cual está compuesto por dos dígitos por cada nivel de subdivisión político-administrativa del Perú.
> Wikipedia
> - Wikipedia
> El Ubigeo es el identificador numérico único que se asigna a cada ámbito político administrativo del país para identificar al departamento, provincia y distrito.
> INEI
Para ver un ejemplo de uso, ingresa a http://angelfqc.github.io/ubigeo-peru/
* Los códigos Ubigeo en esta lista son según el [Sistema de Consulta de Códigos Estandarizados](http://webinei.inei.gob.pe:8080/sisconcode/publico.htm) del INEI
> - INEI
26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "ubigeo-peru",
"version": "2.0.0",
"description": "Ubigeos para perú según RENIEC y INEI.",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AngelFQC/ubigeo-peru.git"
},
"keywords": [
"ubigeo",
"reniec",
"inei",
"peru",
"perú"
],
"author": "Angel Fernando Quiroz Campos <angelfqc.18@gmail.com> (http://angelfqc.online)",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/AngelFQC/ubigeo-peru/issues"
},
"homepage": "https://github.com/AngelFQC/ubigeo-peru#readme"
}
7 changes: 7 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict";

const ubigeoPeru = {};
ubigeoPeru.reniec = require('./ubigeo-reniec.json');
ubigeoPeru.inei = require('./ubigeo-inei.json');

module.exports = ubigeoPeru;
2,097 changes: 2,097 additions & 0 deletions src/ubigeo-inei.json

Large diffs are not rendered by default.

2,061 changes: 2,061 additions & 0 deletions src/ubigeo-reniec.json

Large diffs are not rendered by default.

Loading

0 comments on commit 8ec0d11

Please sign in to comment.