UNPKG

fast-average-color

Version:

A simple library that calculates the average color of images, videos and canvas in browser environment.

63 lines (62 loc) 1.63 kB
{ "name": "fast-average-color", "description": "A simple library that calculates the average color of images, videos and canvas in browser environment.", "version": "6.1.1", "author": { "name": "Denis Seleznev", "email": "hcodes@yandex.ru", "url": "https://github.com/fast-average-color/fast-average-color" }, "main": "dist/index.common.js", "module": "dist/index.esm.js", "unpkg": "dist/index.js", "jsdelivr": "dist/index.js", "homepage": "https://github.com/fast-average-color/fast-average-color", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/fast-average-color/fast-average-color.git" }, "keywords": [ "fast", "average", "color", "colour" ], "engines": { "node": ">= 4" }, "typings": "./typings/index.d.ts", "files": [ "src", "dist/*.js", "dist/README.md", "typings/*.d.ts", "README.md", "LICENSE" ], "devDependencies": { "@babel/core": "^7.11.6", "@babel/preset-env": "^7.11.5", "eslint": "^7.9.0", "gulp": "^4.0.2", "gulp-rename": "^2.0.0", "gulp-replace": "^1.0.0", "gulp-rollup": "^2.17.0", "gulp-uglify": "^3.0.2", "jest": "^26.4.2", "nyc": "^15.1.0", "rollup": "^2.27.1", "rollup-plugin-babel": "^4.4.0", "typescript": "^4.0.3" }, "scripts": { "build": "gulp", "prepare": "gulp", "eslint": "eslint .", "test": "npm run build && npm run eslint && npm run unit-test-coverage && npm run test-typings", "unit-test": "jest", "unit-test-coverage": "nyc jest", "test-typings": "tsc -p tsconfig.json" } }