Develop.Cheap

A trip to Deno-land

Hamilton, Bermuda

After a series of issues with random links, I thought I would attempt a themed issue today. I’m hoping this will interest you as much as it interests me. If nothing else it may be a fun distraction. I’ve also added some links to virtual conferences at the bottom for some future distractions. I know that in some parts of the world, some aspects of pre-Covid life are starting to return. Hopefully this finds you well.

Deno logo or screenshot

Deno

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. I’ve been keeping an eye on this for a while now, and it has recently hit the 1.0.0 release, so it seems like a good time to mention it. Deno was created by the same man, Ryan Dahl, who created Node.js, but taking all of the lessons learned from that into consideration. Take a look at a presentation he gave for more insight into the project. One thing to note, this isn’t replacing Node, it will continue to exist.

https://deno.land/

oak

A middleware framework for Deno’s net server 🦕This library is inspired by Koa, the Node framework, and since it is still JavaScript under the hood, working with it should be extremely familiar. There are a number of web frameworks available for Deno in various states of ‘production readiness’. Oak seems like the most mature, but there are others out there with more or different features if you prefer.

https://oakserver.github.io/oak/

velociraptor logo or screenshot

velociraptor

An alternative to npm scripts for Deno. Given the dinosaur theme of Deno, it isn’t surprising that a number of related tools and libraries have dinosaur names. Deno itself doesn’t have the equivalent of a package.json file, and given how you need to explicitly grant permission to scripts, it is not surprising to see script runners emerge. There are other ones out there, but this one definitely has the best name. ;)

https://github.com/umbopepato/velociraptor

Distractions

Written by Colin Bate