hellodb:适用于Node.JS应用程序的简单轻量级JSON数据库 源码
简单轻巧的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,
下载地址
用户评论