首页 > TAG信息列表 > SyncAdapter
lowdb
const Low = require('lowdb'); class SyncAdapter { read() {return {}}//初始化为对象才能db.defaults write(data) { /* ... */ } // should return nothing } const adapter = new SyncAdapter(); const db = new Low(adapter); // Set some defaults db.de