Property-based testing library for TypeScript with high-performance WASM optimization.
This is a npm workspace containing:
@justanotherdot/hedgehog- Main property-based testing library (README)@justanotherdot/hedgehog-splitmix-wasm- WebAssembly bindings for SplitMix64 PRNG (README)
npm run build:all # Build all packages
npm run build # Build main package only
npm run build:wasm # Build WASM package onlynpm test # Run tests
npm run test:watch # Run tests in watch modenpm run lint # Lint code
npm run lint:fix # Fix linting issues
npm run typecheck # Type checkingnpm run bench # Run benchmarksnpm run release # Create and publish release- Node.js ≥20.16.0
- For WASM compilation: Rust toolchain with
wasm-pack
See packages/hedgehog/README.md for complete documentation, examples, and API reference.
BSD-3-Clause