canvas-size

v2.0.0
Determine the maximum area, height, width, and custom dimensions of an HTML canvas element.
area canvas height html limit max maximum offscreen offscreencanvas and 8 more...

prepare

husky && rimraf dist/*.js* && npm run build

build

rollup -c

dev

npm start & npm run test:watch & npm run serve

lint

prettier . --check && eslint . && markdownlint *.md

lint:fix

prettier . --write && eslint . --fix

serve

node server.js

start

rimraf coverage/* && npm run build -- --watch

test

rimraf coverage/* && npx playwright test

test:chrome

npm test -- --project='chromium'

test:watch

npm test -- --ui

version

npm run prepare && npm run lint && npm run test
npm i canvas-size

Metadata

  • MIT
  • Whatever
  • John Hildenbiddle
  • released 2/13/2024

Downloads

Maintainers