konsumer opened a new issue, #307: URL: https://github.com/apache/couchdb-nano/issues/307
<!--- Provide a general summary of the issue in the Title above --> If this library used `fetch` instead of axios (with cross-fetch as a polyfill for environments that don't have `fetch`) it would be usable in other js environments (deno, bun, cloudflare workers, maybe even browser!) ## Possible Solution Remove dependencies on axios, and use cross-fetch and [standard fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). I have seen [browser-nano](https://github.com/achesco/browser-nano) but haven't tested. It may already have support for this. This might be a nice way to merge these projects. It has a [very thin wrapper](https://github.com/achesco/browser-nano/blob/master/lib/index.js) to monkey-patch nano. ## Context For me specifically, it would enable me to use nano/couch more easily, directly with cloudflare workers (which have `fetch` built-in.) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
