Hacker News new | ask | show | jobs
by andrewstuart 1081 days ago
I don't recall but it felt like a distant goal at best.

Is there a written guide for how to convert a nodejs project to Deno?

I'd really prefer to be using deno instead of node. If it was a seamless experience I would definitely drop nodejs.

1 comments

A couple months back we added an ability for Deno to run projects authored for Node.js directly.

Eg. if you have a Vite app (or any other app really) with "package.json" and some "scripts" defined there, just try running "deno task <script_name>". Deno will automatically pick up "package.json" and try its best to run the that script.

It's not fully done, but in our testing we got a lot of non-trivial projects running that way. If something doesn't work in your case, I would greatly appreciate a bug report to help us fix this.

As for the written guide - there's not a single one at the moment - it's something we'll be looking into in the coming months.

I'll wait till there's a written guide then follow it.