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

Usage

import * as mod from "https://garn.io/ts/v0.0.14/nix.ts";

§Functions

nixAttrSet

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

nixList

Turns a javascript array of NixExpressions into a Nix list.

nixRaw

A template literal function to construct NixExpressions from raw strings.

nixStrLit

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

§Type Aliases

NixExpression

An opaque type representing a Nix expression.

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.