【文件属性】:
文件名称:jspath-db:使用jspath进行查询dsm的快速且肮脏的类数据库对象
文件大小:12KB
文件格式:ZIP
更新时间:2021-05-18 07:07:27
JavaScript
jspath数据库
使用进行查询dsm的快速且肮脏的类数据库对象
提供文件,内存和浏览器本地存储的支持
示例(基于文件)
const Database = require ( 'jspath-db' ) ;
const FileBacking = require ( 'jspath-db/file-backing' ) ;
const { join } = require ( 'path' ) ;
const MyData = [
{
name : 'A Big Tree' ,
author : 'Leafy McLeafeater'
} ,
{
name : 'My Hot Tub' ,
author : 'Shane Bayne'
}
] ;
const PathToFile = join ( __dirname , './books
【文件预览】:
jspath-db-master
----.eslintrc(69B)
----example.js(1007B)
----file-backing.js(441B)
----browser-backing.js(438B)
----LICENSE(1KB)
----test()
--------.eslintrc(103B)
--------test.js(4KB)
----README.md(2KB)
----backing.js(73B)
----memory-backing.js(387B)
----.gitignore(899B)
----index.js(8KB)
----package-lock.json(9KB)
----package.json(718B)