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

nix

import { nix } from "https://garn.io/ts/v0.0.14/mod.ts";

§Functions

nix.nixAttrSet

Turns a javascript object of NixExpressions into a Nix attribute set.

nix.nixList

Turns a javascript array of NixExpressions into a Nix list.

nix.nixRaw

A template literal function to construct NixExpressions from raw strings.

nix.nixStrLit

Returns a NixExpression which represents a Nix string literal, but with all typescript interpolations properly escaped and interpolated.

§Type Aliases

nix.NixExpression

An opaque type representing a Nix expression.

nix.NixStrLitInterpolatable

A union of types that are allowed to be interpolated into the nixStrLit template literal function. This is also used in some higher level functions, such as Environment.shell.