BASE

Deno

Deno

Backend / API library · Free

A JavaScript and TypeScript runtime with permissions and built-in tools: it runs APIs, scripts, and tests within explicit access boundaries.

Also known as: denoland/deno; deno

Resource illustration: Deno

Open resource ↗

What you can use for free

Code and local use under MIT.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Run a TypeScript task with permissions
  • Connect runtime permissions to an API/script and verify that unnecessary access is denied

Example workflow

A possible workflow; this is not a report of hands-on testing.

Run a TypeScript task with permissions.

Before you start

  • A data contract or HTTP workflow.
  • A project with a supported runtime.

Steps

  1. Define the script's required filesystem/network access.
  2. Connect runtime permissions to an API/script and verify that unnecessary access is denied.
  3. Add error handling and an integration check of the result.

Check your result

  • Invalid and missing data are handled predictably.
  • Types and the actual response agree; errors are not hidden.

Choosing Deno

Run a TypeScript task with permissions

Choose this when

  • Run a TypeScript task with permissions
  • Connect runtime permissions to an API/script and verify that unnecessary access is denied

Requirements

  • Install the runtime for Windows, macOS, or Linux; the README's HTTP scenario requires --allow-net permission.

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MIT for the code; dependencies have separate licenses.

Frequently asked questions

What can you use for free in Deno?

Code and local use under MIT.

What additional costs might arise with Deno?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Deno?

MIT for the code; dependencies have separate licenses.

How do you get started with Deno?

Define the script's required filesystem/network access. Connect runtime permissions to an API/script and verify that unnecessary access is denied. Add error handling and an integration check of the result.

Is Deno Deploy required to run a Deno server?

No: the README demonstrates a local TypeScript server using Deno.serve and deno run --allow-net. Deno is a standalone JavaScript, TypeScript, and WebAssembly runtime; Deno Deploy is a separate hosting service. The example explicitly grants network access, consistent with the runtime's secure defaults.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • Deno
  • API
  • Development

Sources

Other resources