@shelby-protocol/reed-solomon
v0.0.1
Published
## Description
Downloads
1,986
Readme
@shelby-protocol/reed-solomon
Description
This package provides a WASM-based implementation of Reed–Solomon encoding and decoding.
Installation
# From your package or app
pnpm install @shelby-protocol/reed-solomonBuilding
Because this is a TypeScript package shim relying on native bindings, you must build it before consuming it in our turborepo setup:
# From the @shelby-protocol/reed-solomon package directory
pnpm run buildThis will compile src/index.ts into dist/index.js and update the package.json main/module entries. Only after building can other packages import @shelby-protocol/reed-solomon successfully.
Why the shim?
- Type safety: We provide TypeScript type signatures for all core functions.
- Monorepo compatibility: Ensures consistent import paths and build artifacts across workspaces.
