Packages

A package is a directory containing a default module, which is a a file named either tangram.js or tangram.ts. The default module serves as the main entry point and interface for the package.

# Create a new package in the directory `foo`.
$ tg new foo
$ tree foo
foo
└ tangram.ts