DEV Community

Matthew Adams
Matthew Adams

Posted on

1

d

d, a Deno-invoking version manager for Deno

This is a simple shell script that invokes a specified Deno version, including downloading & extracting it if it doesn't exist. It's similar in spirit to the various dvm forks, but is written in sh (not even bash, so should work everywhere, except Windows, for which MRs are welcome).

Examples below assume d is in your path.

Pass all arguments along the latest version of deno:

$ d --version # delegates to latest deno
deno 1.1.0
v8 8.4.300
typescript 3.9.2

Pass all arguments along to a specific version of deno:

$ d --use 1.0.0 -- --version # use a specific version of deno
deno 1.0.0
v8 8.4.300
typescript 3.9.2

Invoke a script using the latest version of deno:

$ d run https://deno.land/std/examples/welcome.ts
Download https://deno.land/std/examples/welcome.ts
Warning Implicitly using master branch https://deno.land/std/examples/welcome.ts
Compile https://deno.land/std/examples/welcome.ts
Welcome to Deno 🦕

Currently in prerelease form.

Available at https://gitlab.com/northscaler-public/d.
File issues at https://gitlab.com/northscaler-public/d/-/issues.
Mirrored to https://github.com/northscaler/d.

Enjoy!

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay