没有合适的资源?快使用搜索试试~ 我知道了~
hellodb:适用于Node.JS应用程序的简单轻量级JSON数据库
共6个文件
js:3个
gitignore:1个
json:1个
需积分: 11 0 下载量 65 浏览量
2021-04-13
11:31:12
上传
评论
收藏 4KB ZIP 举报
温馨提示
简单轻巧的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,
资源推荐
资源详情
资源评论
收起资源包目录
hellodb-main.zip (6个子文件)
hellodb-main
index.js 43B
package.json 657B
src
hellodb.js 6KB
util
file-process.js 770B
.gitignore 59B
README.md 2KB
共 6 条
- 1
资源评论
吴玄熙
- 粉丝: 18
- 资源: 4583
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功