Ok, we might have gotten a little bit too excited by Deno 2.0's launch video 🤷. So this week we started working on Deno support for Nitric and

Nitric adds Deno 2 support

submited by
Style Pass
2024-10-23 06:30:05

Ok, we might have gotten a little bit too excited by Deno 2.0's launch video 🤷. So this week we started working on Deno support for Nitric and we're happy to say it's ready.

It's probably no surprise we're pretty big fans of Go (most of Nitric is written in it after all). We're particularly fans of its built-in features like go test, go fmt, go build, etc. and its dependency management. More often than not, when you need to do something in Go, there is straight-forward way to do it. We also love TypeScript, but the tooling around it can sometimes leave a bit to be desired.

Deno kind of blew us away with that same Go-like no-nonsense experience for JavaScript and TypeScript. With tooling that makes sense and a focus on security, it's a great fit for Nitric. The performance improvements are also hard to ignore and now that Deno 2 supports NPM packages, it's a no-brainer for us to support it.

Honestly, adding a Deno template became a bit of an obsession the last couple days. If nothing else, just so we could start using it ourselves. There were a couple tiny hiccups getting it running in containers on AWS Lambda, which we'll publish in another blog to help anyone else trying to do the same, but we're happy to say it's ready to go.

Leave a Comment