1. 首页
  2. 数据库
  3. 其它
  4. hellodb:适用于Node.JS应用程序的简单轻量级JSON数据库 源码

hellodb:适用于Node.JS应用程序的简单轻量级JSON数据库 源码

上传者: 2021-04-26 19:23:26上传 ZIP文件 3.72KB 热度 10次
简单轻巧的JSON数据库,使用键存储数据。 安装 将hellodb添加到现有的Node.JS应用程序。 npm i hellodb --save 用法 const HelloDB = require("hellodb"); const db = new HelloDB(); db.on("ready", async () => { dbOps(); }); async function dbOps() { //===INSERT AN OBJECT // // ID is generated automatically when the user is stored in the json file. const insertedUser = await db.put("users", { username: "yasmikash", age: 24,
下载地址
用户评论