next-link-header
v1.0.0
Published
Get the link[rel=next] URL from HTTP headers of a fetch response
Downloads
4
Readme
Usage
import nextLink from 'next-link-header'
const response = await fetch('https://api.github.com/search/repositories?q=language:javascript')
const url = nextLink(response)
// do something with `url`