Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / AssemblyScript
Schema registry

AssemblyScript

AssemblyScript is TypeScript-like language that is compiled to WebAssembly (wasm)

asconfig.json

Check your file against this schema

Opens the validator with this schema already loaded. Paste your asconfig.json and it validates in your browser — nothing is uploaded.

Validate a asconfig.json → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
extendsstring
entriesarray
optionsobject
options.optimizebooleanOptimizes the module
options.optimizeLevelnumberHow much to focus on optimizing code
options.shrinkLevelnumberHow much to focus on shrinking code size
options.convergebooleanRe-optimizes until no further improvements can be made
options.baseDirstring
options.outFilestring
options.textFilestring
options.bindingsanyOfSpecified the bindings to generate
options.sourceMapanyOfEnables source map generation. Optionally takes the URL
options.runtimeanyOfSpecifies the runtime variant to include in the program
options.noUnsafebooleanDisallows the use of unsafe features in user code
options.debugbooleanEnables debug information in emitted binaries
options.noAssertbooleanReplaces assertions with just their value without trapping
options.noEmitbooleanPerforms compilation as usual but does not emit code
options.importMemorybooleanImports the memory provided as 'env.memory'
options.noExportMemorybooleanDoes not export the memory as 'memory'
options.initialMemorynumberSets the initial memory size in pages
options.maximumMemorynumberSets the maximum memory size in pages
options.sharedMemorynumberDeclare memory as shared. Requires maximumMemory
options.zeroFilledMemorybooleanAssume that imported memory is zero filled. Requires importMemory
options.memoryBasenumberSets the start offset of compiler-generated static memory
options.importTablebooleanImports the function table provided as 'env.table'
options.exportTablebooleanExports the function table as 'table'
options.exportStartstring
options.libanyOf
options.pathanyOf
options.useanyOf
options.trapModeenumSets the trap mode to use
one of: "allow", "clamp", "js"
options.runPassesanyOf
options.noValidatebooleanSkips validating the module using Binaryen
options.enableanyOfEnables WebAssembly features that are disabled by default
options.disableanyOfDisables WebAssembly features that are enabled by default
options.transformanyOf
options.pedanticbooleanMake yourself sad for no good reason
options.statsbooleanPrints measuring information on I/O and compile times
options.noColorsbooleanDisables terminal colors
options.exportRuntimebooleanExports the runtime helpers (__new, __collect etc.)
options.stackSizenumberExports the runtime helpers (__new, __collect etc.)
options.lowMemoryLimitnumberEnforces very low (<64k) memory constraints
options.tableBasenumberSets the start offset of emitted table elements
options.wasmstring
targetsobject

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
anyOfJSON Schema Core, draft 2020-12§10.2.1.2 — "anyOf"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
maximumJSON Schema Validation, draft 2020-12§6.2.2 — "maximum"
minLengthJSON Schema Validation, draft 2020-12§6.3.2 — "minLength"
minimumJSON Schema Validation, draft 2020-12§6.2.4 — "minimum"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
uniqueItemsJSON Schema Validation, draft 2020-12§6.4.3 — "uniqueItems"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas