Skip to content

retoheusser/happy-headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()
  },
  ...
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •