UNPKG

image-in-browser

Version:

Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)

129 lines (128 loc) 3.1 kB
{ "name": "image-in-browser", "version": "3.2.3", "description": "Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)", "author": "Yegor Pelykh <yegor.dev@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/yegor-pelykh/image-in-browser" }, "type": "module", "main": "lib/index.js", "files": [ "lib/**/*.js", "lib/**/*d.ts" ], "keywords": [ "convert", "converter", "browser", "encode", "decode", "image", "animation", "bmp", "gif", "ico", "jpg", "jpeg", "png", "pnm", "pbm", "pgm", "ppm", "psd", "pvr", "tga", "tif", "tiff", "webp", "color", "pixel", "contrast", "saturation", "brightness", "gamma", "exposure", "hue", "adjust-color", "billboard", "bleach-bypass", "bulge-distortion", "bump", "chromatic-aberration", "color-halftone", "color-offset", "convolution", "dither", "drop-shadow", "edge-glow", "emboss", "gaussian-blur", "grayscale", "hexagon-pixelate", "invert", "luminance-threshold", "monochrome", "noise", "normalize", "pixelate", "quantize", "reinhard-tone-map", "sepia", "sketch", "smooth", "sobel", "solarize", "stretch-ditortion", "vignette", "circle", "line", "polygon", "rect", "fill", "composite", "crop", "crop-circle", "flip", "rectify", "resize", "rotate", "flip", "flip-horizontal", "flip-vertical", "trim" ], "scripts": { "test:color": "vitest run test/color", "test:draw": "vitest run test/draw", "test:exif": "vitest run test/exif", "test:filter": "vitest run test/filter", "test:format": "vitest run test/format", "test:image": "vitest run test/image", "test:transform": "vitest run test/transform", "test:all": "vitest run test", "format:src": "prettier --write \"src/**/*.ts\" \"src/**/*.js\" --no-error-on-unmatched-pattern", "format:test": "prettier --write \"test/**/*.ts\" \"test/**/*.js\" --no-error-on-unmatched-pattern", "format:eslint": "eslint --fix", "format": "npm run format:src && npm run format:test && npm run format:eslint", "build:src-js": "tsc -p tsconfig.build.json --removeComments", "build:src-typings": "tsc -p tsconfig.build.json --emitDeclarationOnly", "build:src": "npm run build:src-js && npm run build:src-typings", "build:pre": "node pre-build.js", "build": "npm run build:pre && npm run format && npm run build:src", "release": "release-it" }, "devDependencies": { "@types/node": "^22.14.1", "@typescript-eslint/eslint-plugin": "^8.29.1", "@typescript-eslint/parser": "^8.29.1", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.2", "prettier": "^3.5.3", "release-it": "^18.1.2", "typescript": "^5.8.3", "vitest": "^3.1.1" } }