wasmer-pack 0.7.1

A code generator that lets you treat WebAssembly modules like native dependencies.
Documentation
// Generated by {{generator}}.

{%- for cmd in commands %}
const { load: {{cmd.ident}} } = require("./commands/{{cmd.name}}.js");
{%- endfor %}
{%- if libraries %}
const { Bindings } = require("./bindings/index.js");
{%- endif %}

{%- if libraries %}
exports.bindings = new Bindings();
{%- endif %}
{%- if commands %}
exports.commands = {
    {%- for cmd in commands %}
    {{cmd.ident}},
    {%- endfor %}
};
{%- endif %}