arreglar ejemplo

This commit is contained in:
Cat /dev/Nulo 2023-11-28 21:00:19 -03:00
parent 9d5f674c04
commit 7e6b9aa767
2 changed files with 8 additions and 3 deletions

View file

@ -5,7 +5,7 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"run": "env NODE_EXTRA_CA_CERTS=pki/ca_intermediate_root_bundle.pem node download_json.js" "run": "mkdir -p data && cd data && env NODE_EXTRA_CA_CERTS=pki/ca_intermediate_root_bundle.pem node download_json.js"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",

View file

@ -9,8 +9,13 @@ pnpm install
## correr ## correr
``` ```
pnpm run run download_json.js https://datos.gob.ar/data.json # descargar portal datos.gob.ar
# guarda en ./datos.gob.ar pnpm run run https://datos.gob.ar/data.json
# guarda en data/datos.gob.ar
# descargar todos los portales conocidos
pnpm run run
# guarda en data/*
``` ```
## contenedor ## contenedor