wasmer-pack 0.7.1

A code generator that lets you treat WebAssembly modules like native dependencies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
---
source: crates/wasmer-pack/src/js/mod.rs
expression: "files[\"package/src/index.js\"].utf8_contents().unwrap()"
---
// Generated by XXX.
const { load: first } = require("./commands/first.js");
const { load: second_with_dashes } = require("./commands/second-with-dashes.js");
const { Bindings } = require("./bindings/index.js");
exports.bindings = new Bindings();
exports.commands = {
    first,
    second_with_dashes,
};