json-file-store:Node.js的简单JSON存储

时间:2021-02-03 20:51:26
【文件属性】:
文件名称:json-file-store:Node.js的简单JSON存储
文件大小:8KB
文件格式:ZIP
更新时间:2021-02-03 20:51:26
nodejs javascript json filestore unmaintained JSON文件存储 用于node.js的简单JSON文件存储。 警告:如果要保留大量对象,请不要使用它。 而是使用真实的数据库。 安装 npm install jfs --save 用法 var Store = require ( "jfs" ) ; var db = new Store ( "data" ) ; var d = { foo : "bar" } ; // save with custom ID db . save ( "anId" , d , function ( err ) { // now the data is stored in the file data/an
【文件预览】:
json-file-store-master
----.travis.yml(70B)
----.babelrc(29B)
----Store.spec.es6.js(13KB)
----package.json(1KB)
----Store.es6.js(8KB)
----.npmignore(90B)
----LICENCE.txt(1KB)
----.gitignore(38B)
----README.md(3KB)

网友评论