@fizz.js/node-cache
v1.0.0
Published
node-cache
Downloads
2
Readme
@fizz.js/node-cache
This is a cache library for express.
install
add dependencies
into package.json
and run yarn install
configure
please put cache
config into config/${env}.json
{
"redis": {
"enabled": true,
"host": "127.0.0.1",
"port": 6379,
"options": {
"no_ready_check": true
}
},
"cache": {
"debug": false,
"defaultDuration": "1 hour",
"enabled": true
}
}
test
yarn test
coverage
yarn cover
build
yarn build
docs
yarn docs