From 6fa0e7b602ae1eb7a1b7b631f85d4ef864364295 Mon Sep 17 00:00:00 2001 From: Hazork Date: Sat, 9 Oct 2021 14:23:40 -0300 Subject: [PATCH] docs: table of contents --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index ce222383..9e982f9e 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,33 @@ const { data } = await cachedApi.get('https://api.example.com/');

+## Table of contents + +- [Table of contents](#table-of-contents) +- [Installing](#installing) +- [Support list](#support-list) +- [Getting Started](#getting-started) +- [What we support](#what-we-support) +- [Basic Knowledge](#basic-knowledge) + - [Request id](#request-id) +- [Global configuration](#global-configuration) + - [storage](#storage) + - [generateKey](#generatekey) + - [waiting](#waiting) + - [headerInterpreter](#headerinterpreter) + - [requestInterceptor and responseInterceptor](#requestinterceptor-and-responseinterceptor) +- [Per-request configuration](#per-request-configuration) + - [ttl](#ttl) + - [interpretHeader](#interpretheader) + - [methods](#methods) + - [cachePredicate](#cachepredicate) + - [update](#update) +- [Inspiration](#inspiration) +- [License](#license) +- [Contact](#contact) + +
+ ## Installing > Axios is a peer dependency and must be installed separately.