Skip to content

Instantly share code, notes, and snippets.

@alfred-landrum
Created October 30, 2014 13:28
Show Gist options
  • Save alfred-landrum/1b32737dfeb1dae0a7f9 to your computer and use it in GitHub Desktop.
Save alfred-landrum/1b32737dfeb1dae0a7f9 to your computer and use it in GitHub Desktop.
importing a module within gist

Importing a module within gist context

Uses the import keyword to reference a file that is contained within the loaded gist.

export const foo = 42;
import "foo.juttle" as foo;
emitter -limit 10 -hz 10 | put value = foo.foo | @table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment