UNPKG
adonis5-cache
Version:
latest (1.3.1)
1.3.1
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
Cache provider for AdonisJS 5
github.com/reg2005/adonis5-cache
reg2005/adonis5-cache
adonis5-cache
/
build
/
src
/
CacheContexts
/
DefaultCacheContext.js
12 lines
(11 loc)
•
258 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= {
tags
: [],
serialize
:
(
value
) =>
{
return
JSON
.
stringify
(value); },
deserialize
:
(
value
) =>
{
return
JSON
.
parse
(value); }, };