vpm-cache
v1.0.0
Published
简单的缓存模块
Downloads
1
Readme
#VPM-cache
npm install vpm-cache --save
var cache = require('vpm-cache');
var db = cache('./db');
// Get table
var user = db.get('user');
user.set('name', 'gavinning');
user.save() // => create ./db/user.db
user.get('name') // => gavinning