1.1.0 • Published 2 years ago

worker-fetch v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Worker Fetch for Node

make memory intensive api calls on a separate thread

NPM JavaScript Style Guide

Install

npm install worker-fetch

yarn add worker-fetch

Usage

import { fetch } from 'worker-fetch'

async const api = ()=>{
    const data = await fetch('url')
    console.log(data)
}

api()
    .catch(err=>console.error(err))

note fetch() takes in same parameters as node-fetch

License

MIT © HRSHDG8

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago