//
pkg.gl
Category
github.com/ChipArtem/k6
js
compiler
package
0.0.0-20231129065837-deba56b04b66
Repository:
https://github.com/chipartem/k6.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
13
Dependents
3
Files
375 SLOC
#
Functions
New
New returns a new Compiler.
NewPool
NewPool creates a Pool that will be using the provided logger and will preallocate (in parallel) the count of compilers each with their own babel.
#
Variables
DefaultOpts
No description provided by the author
#
Structs
Compiler
A Compiler compiles JavaScript source code (ES5.1 or ES6) into a goja.Program.
Options
Options are options to the compiler.
Pool
Pool is a pool of compilers so it can be used easier in parallel tests as they have their own babel.