@require

The @require keyword is used to import a module.

Examples

Import a module with the original name

# Imports as 'test-module'
@require "test-module"

Import a module with an alias

# Imports as 'tm'
@require tm: "test-module"

See also