-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Do you have anything in your roadmap regarding Node.js support?
The purpose is to allow other cross-env libraries to use fetch as the client.
From what I see now in master there are couple of things to be done:
- Use
XMLHttpRequestpolyfill (for example https://github.com/pwnall/node-xhr2) - Wrap the code in something like UMD to make sure CommonJS and AMD compatibility
- Export all classes and
fetch()function instead of always writing to global - Add optional
polyfill()method just like ines6-promisefor AMD users - Take over NPM package name
fetch, current one is unmaintained for 2 years
Is it worth investigation and making a PR? Does not seem to be too much effort.
UnsungHero97, huowenxuan, felipesousa and feimosi
Metadata
Metadata
Assignees
Labels
No labels