naxlowdb
v1.0.4
Published
Librería npm para uso de operaciones básicas en Jsons que se comportan como Bds con lowDb en el lado cliente.
Downloads
18
Readme
lowDb
Librería npm para uso de operaciones básicas en Jsons que se comportan como Bds con lowDb en el lado cliente.
Instalar
npm i naxlowdb
Operaciones
const { getsJson, getJson postJson, putJson, deleteJson } = require("naxlowdb");
getJson()
Valida y obtiene datos. Recibe como parametro el id, devuelve un json si existe y false si no.
getsJson()
Obtiene todo los jsons guardados
postJson({id,datos})
Recibe el id y datos que guardara esa id
putJson({json})
Recibe un json con los datos e id que actualizara
deleteJson({id})
Recibe la id y borra una posición
Ejemplo
Licencia 📄
Este proyecto está bajo la Licencia (MIT)
Creado por Ignacio Labra