canvas-to-buffer

v4.0.0
Converts a Canvas graphic into a Buffer, as fast as possible and without a copy.
canvas buffer browser atob convert

lint

eslint --color ./src ./test

test

cross-env NODE_OPTIONS='--import=tsx' tape test/*.ts

build

microbundle src/index.ts

lint:fix

npm --silent run lint -- --fix

prettier

prettier --check ./src ./test

types:check

tsc --noEmit

prettier:fix

prettier --write ./src ./test

Metadata

  • MIT
  • ^20.12.2
  • Michael Heuberger
  • released 8/4/2024

Downloads