Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript
445 B
Raw Blame
{
  "name": "rotate",
  "scripts": {
    "build": "../build-rust.sh ./build.sh",
    "benchmark": "echo File size after gzip && npm run benchmark:filesize && echo Optimizing && npm run -s benchmark:optimizing",
    "benchmark:baseline": "v8 --liftoff --no-wasm-tier-up --no-opt ./benchmark.js",
    "benchmark:optimizing": "v8 --no-liftoff --no-wasm-tier-up ./benchmark.js",
    "benchmark:filesize": "cat rotate.wasm | gzip -c9n | wc -c"
  }
}