Open
Description
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.
I have seen 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 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.)
Metadata
Metadata
Assignees
Labels
No labels