UNPKG

canvas-dither

Version:

Black and White dithering for the canvas element

39 lines (38 loc) 1.06 kB
{ "name": "canvas-dither", "version": "1.0.1", "description": "Black and White dithering for the canvas element", "main": "src/canvas-dither.js", "scripts": { "bundle": "browserify src/canvas-dither.js --standalone CanvasDither -o dist/canvas-dither.js", "uglify": "uglifyjs dist/canvas-dither.js -cm --overwrite -o dist/canvas-dither.js", "build": "npm run bundle && npm run uglify", "lint": "eslint --fix src/canvas-dither.js", "test": "npm run lint" }, "repository": { "type": "git", "url": "git+https://github.com/NielsLeenheer/CanvasDither.git" }, "keywords": [ "dithering", "dither", "canvas", "bw", "black", "white", "1 bit" ], "author": "Niels Leenheer", "license": "MIT", "bugs": { "url": "https://github.com/NielsLeenheer/CanvasDither/issues" }, "homepage": "https://github.com/NielsLeenheer/CanvasDither#readme", "devDependencies": { "browserify": "^16.5.2", "eslint": "^7.7.0", "eslint-config-google": "^0.14.0", "uglify-es": "^3.3.9" } }