UNPKG

honoka

Version:

Just a fetch() API wrapper for both Browser and Node.js.

12 lines (8 loc) 269 B
/* eslint no-var: 0 */ var nodeFetch = require('node-fetch'); global.fetch = nodeFetch; global.Response = nodeFetch.Response; global.Headers = nodeFetch.Headers; global.Request = nodeFetch.Request; global.self = global; module.exports = require('./lib/honoka.cjs');