30 releases

0.19.0 Apr 7, 2021
0.18.3 Mar 15, 2021
0.17.24 Dec 29, 2020
0.17.19 Nov 10, 2020
0.17.0 Jul 28, 2020

#35 in WebAssembly

Download history 252/week @ 2020-12-22 131/week @ 2020-12-29 108/week @ 2021-01-05 205/week @ 2021-01-12 163/week @ 2021-01-19 145/week @ 2021-01-26 164/week @ 2021-02-02 186/week @ 2021-02-09 308/week @ 2021-02-16 133/week @ 2021-02-23 123/week @ 2021-03-02 157/week @ 2021-03-09 164/week @ 2021-03-16 145/week @ 2021-03-23 182/week @ 2021-03-30 166/week @ 2021-04-06

710 downloads per month
Used in 11 crates (5 directly)

MIT license

275KB
6.5K SLoC


Wasmer enables super lightweight containers based on WebAssembly that can run anywhere: from Desktop to the Cloud and IoT devices, and also embedded in any programming language.

Features

  • Fast & Safe. Wasmer runs WebAssembly at near-native speed in a fully sandboxed environment.

  • Pluggable. Wasmer supports different compilation frameworks to best suit your needs (LLVM, Cranelift...).

  • Universal. You can run Wasmer in any platform (macOS, Linux and Windows) and chipset.

  • Standards compliant. The runtime passes official WebAssembly test suite supporting WASI and Emscripten.

Quickstart

Wasmer ships with no dependencies. You can install it using the installers below:

curl https://get.wasmer.io -sSfL | sh
With PowerShell (Windows)

iwr https://win.wasmer.io -useb | iex

See wasmer-install for more installation options: Homebrew, Scoop, Cargo...

Executing a WebAssembly file

After installing Wasmer you should be ready to execute your first WebAssemby file! 🎉

You can start by running QuickJS: qjs.wasm

$ wasmer qjs.wasm
QuickJS - Type "\h" for help
qjs >

Here is what you can do next:

Language Integrations

📦 Wasmer runtime can be used as a library embedded in different languages, so you can use WebAssembly anywhere.

  Language Package Docs
Rust logo Rust wasmer Rust crate Docs
C logo C/C++ wasmer.h headers Docs
C# logo C# WasmerSharp NuGet package Docs
D logo D wasmer Dub package Docs
Python logo Python wasmer PyPI package Docs
JS logo Javascript @wasmerio NPM packages Docs
Go logo Go wasmer Go package Docs
PHP logo PHP wasm PECL package Docs
Ruby logo Ruby wasmer Ruby Gem Docs
Java logo Java wasmer/wasmer-jni Bintray package Docs
Elixir logo Elixir wasmex hex package Docs
R logo R no published package Docs
Postgres logo Postgres no published package Docs
Swift no published package

👋 Missing a language?

Contribute

We welcome any form of contribution, especially from new members of our community 💜

You can check how to build the Wasmer runtime in our awesome docs!

Testing

Test you want? The Wasmer docs will show you how.

Community

Wasmer has an amazing community of developers and contributors. Welcome, please join us! 👋

Channels

Dependencies

~4MB
~83K SLoC