arangodb / arangojs

The official ArangoDB JavaScript driver.
https://arangodb.github.io/arangojs
Apache License 2.0
600 stars 106 forks source link

Deno support #766

Closed lkwr closed 5 months ago

lkwr commented 2 years ago

Hello, are there any plans to support the deno environment?

cardimajs commented 2 years ago

+1

pluma commented 2 years ago

Please don't comment with "+1" or "me too" as this sends out useless e-mails to everyone subscribed to the issue.

If you wish to express support for an issue, you can use the "Add an emoji reaction" feature on the issue description to give it a thumbs up. If you just want to be notified of future progress of the issue, you can press the "Subscribe" button in the sidebar.

pluma commented 2 years ago

There are currently no plans to support deno. As I understand it the code can't easily be ported to deno as it is, but if anyone with experience writing for deno would like to advise, I'm all ears.

Tnifey commented 2 years ago

deno have only fetch for requests, therefore xhr is not included, if there is any sign of drop xhr support, it is a sign for deno support

pluma4345 commented 5 months ago

The upcoming 9.0.0 release replaces http.request/xhr with native fetch and drops the dependency on node-specific modules. As I understand it, that should allow using it with other environments like deno. Please comment/reopen if this is not the case.

You can try the pre-release version yourself by installing arangojs@next.