Mascara: Next Generation JavaScript compiler

Try it Download Buy About Documentation Blog Contact

Import

The Import directive loads declarations from a file and uses them for verification, but does not include the file content in the generated code. Example:
import browserapi;
The files are located in the standard library, or relative to the main input file, and is expected to have the ".es4" extension.

See Standard library for some useful files to import.

See also include. See also package.

X Try!
Mascara JavaScript Generated JavaScript

Translating...
Show compiler settings