Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

emptyEnvironment

import { emptyEnvironment } from "https://garn.io/ts/v0.0.19/mod.ts";

The empty environment - this Environment has nothing installed in it. It can be easily extended using withDevTools.

For example:

import * as pkgs from "https://garn.io/ts/v0.0.18/nixpkgs.ts";

// Create an environment with nothing but go and gopls installed:
emptyEnvironment.withDevTools([pkgs.go, pkgs.gopls])
const emptyEnvironment: Environment;