JavaScript

Zero-dependency ES modules for the browser and Node.

npm install skaters

Zero-dependency ES modules covering the whole library. It runs in the browser and in Node; every live demo on this site is this build. Parity is enforced at more than 105,000 values on every test run, and every exported skater must round-trip through JSON and resume bit-exactly (stateToJSON, stateFromJSON).

In a page without a build step: import { laplace } from "https://cdn.jsdelivr.net/npm/skaters@0.17.0/index.mjs".

Links

Packagenpm
CDNjsDelivr
Sourcedocs/js/skaters
ChangesCHANGELOG.md
LiveDemos
Parityparity/

Every port is checked against the Python reference by the same parity vectors, to 1e-6. How the ports are kept identical →

Other implementations: Python · torch · Rust · R · Julia