tiny-wasm-runtime has been renamed to twr-wasm.
tiny-wasm-runtime has been renamed to twr-wasm.
This package name will no longer be updated.
Please find twr-wasm here:
https://www.npmjs.com/package/twr-wasm
or
https://github.com/twiddlingbits/twr-wasm
twr-wasm is a simple, lightweight and easy to use C/C++ library for building Web Assembly code directly with clang. It solves some common use cases with less work than the more feature rich emscripten. twr-wasm is easy to understand, and has some cool features. You can input and print streaming character i/o to a <div>
tag, use a <canvas>
element as an ANSI terminal, or use a C/C++ 2D drawing api (that is compatible with JavaScript Canvas APIs) to draw to a <canvas>
element. You can run blocking C/C++.
twr-wasm allows you to run C/C++ code in a web browser. Legacy code, libraries, full applications, or single functions can be integrated with Javascript and Typescript.
twr-wasm is designed to be used with the standard llvm clang compiler and tools.