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.
Why we like Deno
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.
How to get started
We've added a new Deno template to the Nitric CLI. So you can create a new Deno project with the following command:
nitric new your-project ts-starter-deno
If you're new to Nitric, you can get started by following the quick start guide and use the command above to create a new Deno project.
We're excited to see what you build with Deno and Nitric. If you have any questions or feedback, feel free to reach out to us on GitHub, X or Discord.
Checkout the latest posts
The Servers Behind Serverless
Examining the CPU hardware capabilities of AWS Lambda, Azure Container Apps and Google Cloud Run
Introducing Nitric for AI and More
Nitric Batch for ML, AI and high-performance compute workloads on AWS, Azure, GCP and more
State of Infrastructure from Code 2024
In recent years, Infrastructure from Code (IfC) has become a recognized category in software development and deployment.
Get the most out of Nitric
Ship your first app faster with Next-gen infrastructure automation