UNPKG

node-fetch-native

Version:

A better redistribution of `node-fetch`

12 lines (8 loc) 213 B
const nodeFetch = require('../dist/index.cjs') function fetch (input, options) { return nodeFetch.fetch(input, options) } for (const key in nodeFetch) { fetch[key] = nodeFetch[key] } module.exports = fetch