From b6c073a73125bf865fd200f4aca199624e7a10ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Quixada=CC=81?= Date: Mon, 3 Jul 2023 09:16:17 -0400 Subject: [PATCH] chore: fixed README's Table of Content --- README.md | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 5f1516d..5e38a16 100644 --- a/README.md +++ b/README.md @@ -20,19 +20,18 @@ Universal WHATWG Fetch API for Node, Browsers, Workers and React Native. The sce ## Table of Contents -- [](#) - - [Table of Contents](#table-of-contents) - - [Install](#install) - - [Usage](#usage) - - [Demo \& API](#demo--api) - - [FAQ](#faq) - - [Yet another fetch library?](#yet-another-fetch-library) - - [Why polyfill might not be a good idea?](#why-polyfill-might-not-be-a-good-idea) - - [How does cross-fetch work?](#how-does-cross-fetch-work) - - [Who's Using It?](#whos-using-it) - - [Thanks](#thanks) - - [License](#license) - - [Author](#author) +- [Table of Contents](#table-of-contents) +- [Install](#install) +- [Usage](#usage) +- [Demo \& API](#demo--api) +- [FAQ](#faq) + - [Yet another fetch library?](#yet-another-fetch-library) + - [Why polyfill might not be a good idea?](#why-polyfill-might-not-be-a-good-idea) + - [How does cross-fetch work?](#how-does-cross-fetch-work) +- [Who's Using It?](#whos-using-it) +- [Thanks](#thanks) +- [License](#license) +- [Author](#author) * * * @@ -42,7 +41,7 @@ Universal WHATWG Fetch API for Node, Browsers, Workers and React Native. The sce npm install --save cross-fetch ``` -As a [ponyfill](https://github.com/sindresorhus/ponyfill): +As a [ponyfill](https://github.com/sindresorhus/ponyfill) (imports locally): ```javascript // Using ES6 modules with Babel or TypeScript @@ -52,7 +51,7 @@ import fetch from 'cross-fetch'; const fetch = require('cross-fetch'); ``` -As a polyfill: +As a polyfill (installs globally): ```javascript // Using ES6 modules