Skip to content

Clafter/happy-headers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 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

Languages

  • TypeScript 100.0%