UNPKG
@tuplo/fletcher
Version:
latest (2.23.1)
2.23.1
2.23.0
2.22.1
2.22.0
2.21.0
2.20.1
2.20.0
2.19.11
2.19.10
2.19.9
2.19.8
2.19.7
2.19.6
2.19.5
2.19.4
2.19.3
2.19.2
2.19.1
2.19.0
2.18.1
2.18.0
2.17.2
2.17.1
2.17.0
2.16.6
2.16.5
2.16.4
2.16.3
2.16.1
2.16.0
2.15.0
2.14.2
2.14.1
2.14.0
2.13.4
2.13.3
2.13.2
2.13.1
2.13.0
2.12.9
2.12.8
2.12.7
2.12.6
2.12.5
2.12.4
2.12.3
2.12.2
2.12.1
2.12.0
2.11.2
2.11.1
2.11.0
2.10.0
2.9.3
2.9.2
2.9.1
2.9.0
2.8.0
2.7.1
2.7.0
2.6.0
2.5.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
1.10.0
1.9.0
1.8.0
1.7.0
1.6.0
1.5.2
1.5.1
1.5.0
1.4.0
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
Web scraping HTTP request library
github.com/tuplo/fletcher
tuplo/fletcher
@tuplo/fletcher
/
dist
/
options
/
cache.d.ts
8 lines
(7 loc)
•
253 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
ICacheParams
}
from
"../fletcher.d"
;
export
declare
class
Cache
{
db
:
Map
<
any
,
any
>;
hit
: <T =
string
>
(
params
:
ICacheParams
) =>
T |
undefined
;
key
:
(
params
:
ICacheParams
) =>
string
;
write
:
(
params
:
ICacheParams
) =>
void
; }