wapm.toml
) is optional for using the wapm
CLI tool; it manages package dependencies, metadata and commands.wapm.toml
file you can simply run wapm init
in your directory and the CLI will guide you!name
(string) requireddescription
(string) requiredlicense-file
(path): an override for the license file path used in publishing. Left undefined, the LICENSE
file will be implicitly included in the package.readme
(path)repository
(url)homepage
(url)wasmer-extra-flags
(string): extra arguments to pass via wapm run
, for example: "--backend=singlepass"
)<namespace>/<name>" = "<version>
name
(string) requiredsource
(path) required: path to the .wasm
fileabi
(enum): one of: wasi
, emscripten
, or none
name
required (string): the name of the command, invoked via wapm run <command-name>
module
required (string): the name of the module this command is running.package
required (string): the package name that the module is in.main_args
package
"location/on/wasm"="location/on/host"
: a mapping between paths