3 ms·
Or you could add a fetch polyfill with zero dependencies: https://github.com/github/fetch/blob/master/package.json https://github.com/github/fetch/blob/master/
by untog 10y ago
Or you could add a fetch polyfill with zero dependencies:
https://github.com/github/fetch/blob/master/package.json https://github.com/github/fetch/blob/master/package.json
And a Promises library with zero dependencies:
https://github.com/stefanpenner/es6-promise/blob/master/package.json https://github.com/stefanpenner/es6-promise/blob/master/pack...
This is not as difficult as you're making it out to be.
- sAbakumoff 10y agoIt's still 2 dependencies in your project versus 1 dependency.
- untog 10y ago1 dependency that's 34.6KB minified. That's a lot more than the two separate dependencies, and besides, once you've gone to the trouble of adding a package.json to add one dependency, adding one more is a very small step.
- sAbakumoff 10y agowhere 34.6KB size came from? I don't get it