npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@psalomo/wasm-music-faust

v0.1.1

Published

The Faust compiler (faust-rs) built for wasm32-unknown-unknown with the AssemblyScript backend and the Faust standard libraries embedded — the compiler module loaded by WebAssembly Music.

Readme

@psalomo/wasm-music-faust

The Faust compiler — the Rust implementation, faust-rs — built for wasm32-unknown-unknown with the AssemblyScript backend enabled and the Faust standard libraries embedded.

This package ships one artifact, faust-compiler-module.wasm, and no JavaScript. It is the compiler module loaded by WebAssembly Music to turn .dsp sources into AssemblyScript.

Using it

The module is a plain wasm32 module: no emscripten loader, no MEMFS, no imports.

const bytes = await (await fetch(
  'https://cdn.jsdelivr.net/npm/@psalomo/[email protected]/faust-compiler-module.wasm'
)).arrayBuffer();
const { instance } = await WebAssembly.instantiate(bytes, {});

Compilation goes through faust_wasm_generate_aux_files_json(name, source, args), with strings written into memory via faust_wasm_alloc. Failures carry a structured diagnostics-v2 report on the result handle (faust_wasm_text_result_diagnostics_ptr/_len). See faust-rs-transpile.js for a complete working host, and the faust-rs error model for the diagnostics schema.

Because import("stdfaust.lib") resolves from libraries embedded at build time, no library files need to be provided at runtime. Sibling sources travel inline as --virtual-source <path>=<base64> arguments.

This build

| | | |---|---| | compiler module | faust-rs-wasm-ffi/0.5.0 | | faust-rs commit | 03abb1d6090f9b50f337f67f28bf492ab90a858e | | faustlibraries commit | ac43216dda778d9cd60624ad1f6a918e112ea861 |

Built and published by this workflow, which validates every module before release.

License

The compiler is GRAME's work, not this project's:

faust-rs — a Rust port of the FAUST compiler Copyright (C) 2026 GRAME, Centre National de Creation Musicale Derived from the FAUST compiler, Copyright (C) 2003-2024 GRAME.

Licensed under LGPL-2.1-or-later; the full text is in LICENSE, copied from the faust-rs revision this module was built from. This package only repackages that build for npm.