Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

@require

The @require keyword is used to import a module through the active module resolver.

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