binaryen
Advanced tools
Comparing version 44.0.0 to 45.0.0-nightly.20180330
{ | ||
"name": "binaryen", | ||
"version": "44.0.0", | ||
"version": "45.0.0-nightly.20180330", | ||
"lockfileVersion": 1, | ||
@@ -5,0 +5,0 @@ "requires": true, |
{ | ||
"name": "binaryen", | ||
"description": "JavaScript version of Binaryen, a compiler infrastructure and toolchain library for WebAssembly.", | ||
"version": "44.0.0", | ||
"version": "45.0.0-nightly.20180330", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -46,3 +46,7 @@ binaryen.js | ||
var wasmData = myModule.emitBinary(); | ||
... | ||
// Example usage with the WebAssembly API | ||
var compiled = new WebAssembly.Module(wasmData); | ||
var instance = new WebAssembly.Instance(compiled, {}); | ||
console.log(instance.exports.add(41, 1)); | ||
``` | ||
@@ -49,0 +53,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2802305
11941
821
2