Importing modules and files #

You can split your specification up into multiple modules and import them from the top level specification module:

import { thing } from "./lib/thing.ts";

If you install packages from NPM or similar, you may import those too:

import equal from "deep-equal";

The runtime is limited, so many existing packages might not work, e.g. if they import NodeJS packages.