Hi @shinspiegel CC @abk
I ported Neo4j Driver version 4.3 to Deno earlier this year: GitHub - technotes-org/neo4j-javascript-driver: Neo4j Bolt driver for JavaScript
If you're curious the changes that were required, the diff can be seen here.
Mostly it was a matter of changing file paths/extensions in the import
statements, but there were actually some typing bugs that Deno caught which somehow weren't caught in the upstream repo, like this import of ALL
which doesn't exist in request-message
and had to be updated to FETCH_ALL
.
Alternatively: since Deno implements web APIs, you should also be able to just use the "browser" version of neo4j-javascript-driver as described in this thread, but it won't have the TypeScript type info. I preferred to port the driver to get full TypeScript support.