Type object
File match asconfig.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/assemblyscript/latest.json
Source https://www.schemastore.org/asconfig-schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

extends string
minLength=1
uniqueItems=true
options object
41 nested properties
optimize boolean

Optimizes the module

optimizeLevel number

How much to focus on optimizing code

min=0max=3
shrinkLevel number

How much to focus on shrinking code size

min=0max=2
converge boolean

Re-optimizes until no further improvements can be made

baseDir string
minLength=1
outFile string
minLength=1
textFile string
minLength=1
bindings bindings | bindings[]

Specified the bindings to generate

sourceMap boolean | nonEmptyString

Enables source map generation. Optionally takes the URL

runtime enum | nonEmptyString

Specifies the runtime variant to include in the program

noUnsafe boolean

Disallows the use of unsafe features in user code

debug boolean

Enables debug information in emitted binaries

noAssert boolean

Replaces assertions with just their value without trapping

noEmit boolean

Performs compilation as usual but does not emit code

importMemory boolean

Imports the memory provided as 'env.memory'

noExportMemory boolean

Does not export the memory as 'memory'

initialMemory number

Sets the initial memory size in pages

maximumMemory number

Sets the maximum memory size in pages

sharedMemory number

Declare memory as shared. Requires maximumMemory

zeroFilledMemory boolean

Assume that imported memory is zero filled. Requires importMemory

memoryBase number

Sets the start offset of compiler-generated static memory

importTable boolean

Imports the function table provided as 'env.table'

exportTable boolean

Exports the function table as 'table'

exportStart string
minLength=1
trapMode enum

Sets the trap mode to use

Values: "allow" "clamp" "js"
noValidate boolean

Skips validating the module using Binaryen

Enables WebAssembly features that are disabled by default

Disables WebAssembly features that are enabled by default

pedantic boolean

Make yourself sad for no good reason

stats boolean

Prints measuring information on I/O and compile times

noColors boolean

Disables terminal colors

exportRuntime boolean

Exports the runtime helpers (__new, __collect etc.)

stackSize number

Exports the runtime helpers (__new, __collect etc.)

min=0
lowMemoryLimit number

Enforces very low (<64k) memory constraints

min=0
tableBase number

Sets the start offset of emitted table elements

min=0
wasm string
minLength=1
targets Record<string, object>

Definitions

nonEmptyString string
arrayOfNonEmptyStrings nonEmptyString[]
nonEmptyStringOrArrayOfNonEmptyStrings nonEmptyString | arrayOfNonEmptyStrings
webAssemblyFeatures enum
compilerOptions object
optimize boolean

Optimizes the module

optimizeLevel number

How much to focus on optimizing code

min=0max=3
shrinkLevel number

How much to focus on shrinking code size

min=0max=2
converge boolean

Re-optimizes until no further improvements can be made

baseDir string
minLength=1
outFile string
minLength=1
textFile string
minLength=1
bindings bindings | bindings[]

Specified the bindings to generate

sourceMap boolean | nonEmptyString

Enables source map generation. Optionally takes the URL

runtime enum | nonEmptyString

Specifies the runtime variant to include in the program

noUnsafe boolean

Disallows the use of unsafe features in user code

debug boolean

Enables debug information in emitted binaries

noAssert boolean

Replaces assertions with just their value without trapping

noEmit boolean

Performs compilation as usual but does not emit code

importMemory boolean

Imports the memory provided as 'env.memory'

noExportMemory boolean

Does not export the memory as 'memory'

initialMemory number

Sets the initial memory size in pages

maximumMemory number

Sets the maximum memory size in pages

sharedMemory number

Declare memory as shared. Requires maximumMemory

zeroFilledMemory boolean

Assume that imported memory is zero filled. Requires importMemory

memoryBase number

Sets the start offset of compiler-generated static memory

importTable boolean

Imports the function table provided as 'env.table'

exportTable boolean

Exports the function table as 'table'

exportStart string
minLength=1
trapMode enum

Sets the trap mode to use

Values: "allow" "clamp" "js"
noValidate boolean

Skips validating the module using Binaryen

Enables WebAssembly features that are disabled by default

Disables WebAssembly features that are enabled by default

pedantic boolean

Make yourself sad for no good reason

stats boolean

Prints measuring information on I/O and compile times

noColors boolean

Disables terminal colors

exportRuntime boolean

Exports the runtime helpers (__new, __collect etc.)

stackSize number

Exports the runtime helpers (__new, __collect etc.)

min=0
lowMemoryLimit number

Enforces very low (<64k) memory constraints

min=0
tableBase number

Sets the start offset of emitted table elements

min=0
wasm string
minLength=1