happy-headers
v1.5.0
Published
Installation
Downloads
57
Readme
happy-headers
Installation
npm install happy-headers
yarn add happy-headers
pnpm install happy-headers
bun add happy-headers
Usage
import getHeaders from 'happy-headers'
fetch('/friends-v1', {
...
headers: {
Authorization: 'Bearer xyz...',
...getHeaders()
},
...
})