An open API service indexing awesome lists of open source software.

https://github.com/gavinning/vpm-cache

简单的缓存模块
https://github.com/gavinning/vpm-cache

Last synced: 10 months ago
JSON representation

简单的缓存模块

Awesome Lists containing this project

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
```