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 🙏

© 2024 – Pkg Stats / Ryan Hefner

e173

v0.1.0-alpha.4

Published

A library implementing various aspects of the ESTA BSR E1.73 standard

Downloads

439

Readme

E1.73 Support Library

A library implementing various aspects of the ESTA BSR E1.73 standard, and building on it with functionality that is useful to various classes of implementers.

Use in WASM

This library can be used as a standard Rust library, but it is also designed to be compiled to WebAssembly for use in web projects. We compile and publish as an NPM package using the wasm-pack tool.

Building for WASM

You need wasm-pack to build for WASM (see above).

We currently have a custom build script build_wasm.sh in the root of the repo to build the WASM package. This is for two reasons. First, we require a postprocessing step to build the library for WASM, because of our desire to use TypeScript string enums and wasm-bindgen's limitations with them. Second, wasm-pack gets tripped up by the fact that there are multiple crates in this repo, and doesn't copy the right README file to the package.

If you are running on Windows, this script should run in Cygwin or MSYS2, or you can trivially reproduce it as a powershell script or similar.

If you want to develop and test the WASM functionality of the library in a Node environment (e.g. running automated tests for your web project), you currently need a version of wasm-pack newer than the latest release, because the solution for this issue, while merged, has not yet made it into a release.

So for example, to build from source, you can do:

$ cargo install wasm-pack --git https://github.com/rustwasm/wasm-pack.git

Acknowledgments

  • Thanks to Jonathan Kemble for designing the format of the ESTA DMX serializer and the algorithms by which it is translated into a database that is useful for controllers, and for providing the original C++ implementation from which the code in the controller module was largely adapted.
  • Thanks to @MadonoHaru for the Tsify crate, which is integrated into this library as the basis of e173_ts, and helps immensely with generating and type-checking the TypeScript/JavaScript FFI.