{"_id":"@antv/smart-color","_rev":"3331936","name":"@antv/smart-color","description":"A JavaScript library for color computation.","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"time":{"modified":"2024-07-10T07:25:14.000Z","created":"2021-06-30T06:05:26.166Z","0.2.1":"2021-09-07T03:30:04.777Z","0.2.0":"2021-08-30T07:01:31.647Z","0.1.8":"2021-08-18T12:17:20.841Z","0.1.7":"2021-08-15T02:43:17.207Z","0.1.6":"2021-07-12T03:47:31.332Z","0.1.5":"2021-07-12T03:24:00.274Z","0.1.4":"2021-07-09T09:41:15.293Z","0.1.3":"2021-07-01T05:10:41.323Z","0.1.2":"2021-07-01T02:52:25.395Z","0.1.1":"2021-06-30T06:44:34.142Z","0.1.0":"2021-06-30T06:05:26.166Z"},"users":{},"author":{"name":"AntV","url":"https://antv.vision/"},"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"versions":{"0.2.1":{"name":"@antv/smart-color","version":"0.2.1","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\" \"demo/**/*.tsx\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start","deploy:site":"cd demo && npm run deploy:site"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://antvis.github.io/smart-color","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/chroma-js":"^2.1.3","@types/jest":"^26.0.23","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"@antv/color-schema":"^0.2.2","chroma-js":"^2.1.2","color-blind":"^0.1.1","quantize":"^1.0.2"},"gitHead":"bd258b3d106fc3b18113aab6917a8f49e374d293","_id":"@antv/smart-color@0.2.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"89d20064ec38025d53f7076a721efd6c77936d24","size":85654,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.2.1.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.2.1_1630985404629_0.12522761658272663"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:35:00.263Z","publish_time":1630985404777,"_cnpm_publish_time":1630985404777},"0.2.0":{"name":"@antv/smart-color","version":"0.2.0","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\" \"demo/**/*.tsx\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start","deploy:site":"cd demo && npm run deploy:site"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://antvis.github.io/smart-color","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/chroma-js":"^2.1.3","@types/jest":"^26.0.23","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"@antv/color-schema":"^0.2.2","chroma-js":"^2.1.2","color-blind":"^0.1.1","quantize":"^1.0.2"},"gitHead":"89c77d07deffcf58b5187c7adc622f279dabbf67","_id":"@antv/smart-color@0.2.0","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"75391d422c4746d1fef5715632b24cd9a5e74275","size":78922,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.2.0.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.2.0_1630306891408_0.2634443226310903"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:57.660Z","publish_time":1630306891647,"_cnpm_publish_time":1630306891647},"0.1.8":{"name":"@antv/smart-color","version":"0.1.8","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\" \"demo/**/*.tsx\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start","deploy:site":"cd demo && npm run deploy:site"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://antvis.github.io/smart-color","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/chroma-js":"^2.1.3","@types/jest":"^26.0.23","@types/lodash":"^4.14.171","@types/uuid":"^8.3.1","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"@antv/color-schema":"^0.2.2","chroma-js":"^2.1.2","color-blind":"^0.1.1","lodash":"^4.17.21","quantize":"^1.0.2","uuid":"^8.3.2"},"gitHead":"1430ddd4a20d735665aabc608ef2709276d8e7ae","_id":"@antv/smart-color@0.1.8","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"4304984ca296b5ad9f2551d36628b297bf759e1f","size":49606,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.8.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.8_1629289040670_0.7091756179020121"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:55.057Z","publish_time":1629289040841,"_cnpm_publish_time":1629289040841},"0.1.7":{"name":"@antv/smart-color","version":"0.1.7","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\" \"demo/**/*.tsx\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start","deploy:site":"cd demo && npm run deploy:site"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://antvis.github.io/smart-color","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/chroma-js":"^2.1.3","@types/jest":"^26.0.23","@types/lodash":"^4.14.171","@types/uuid":"^8.3.1","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"@antv/color-schema":"^0.2.2","chroma-js":"^2.1.2","color-blind":"^0.1.1","lodash":"^4.17.21","quantize":"^1.0.2","uuid":"^8.3.2"},"gitHead":"b63e1527a23695533f0fe210869a3df42b18a38d","_id":"@antv/smart-color@0.1.7","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"1c69d069ac9effd809a739ad8d7dceff3179ddd7","size":44248,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.7.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.7_1628995396891_0.3431986020374196"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:52.769Z","publish_time":1628995397207,"_cnpm_publish_time":1628995397207},"0.1.6":{"name":"@antv/smart-color","version":"0.1.6","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start","deploy:site":"cd demo && npm run deploy:site"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://antvis.github.io/smart-color","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/chroma-js":"^2.1.3","@types/jest":"^26.0.23","@types/lodash":"^4.14.171","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"chroma-js":"^2.1.2","color-blind":"^0.1.1","color-schema-test":"^0.1.8","colorthief":"^2.3.2","lodash":"^4.17.21","uuid":"^8.3.2"},"gitHead":"ef8693a00fd60a6349a20681ef94e746ded91984","_id":"@antv/smart-color@0.1.6","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"97eb4bcd5c3546ccd8b809ccc0e6d766132723a2","size":34393,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.6.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.6_1626061651184_0.8583388569842927"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:50.445Z","publish_time":1626061651332,"_cnpm_publish_time":1626061651332},"0.1.5":{"name":"@antv/smart-color","version":"0.1.5","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://github.com/antvis/smart-color#readme","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/jest":"^26.0.23","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"chroma-js":"^2.1.2","color-blind":"^0.1.1","color-schema-test":"^0.1.8","colorthief":"^2.3.2","lodash":"^4.17.21","uuid":"^8.3.2"},"gitHead":"5f8df22da83dc712e53cab5b89778321c2e10bb2","_id":"@antv/smart-color@0.1.5","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"44a1aef67080517136bdc96386c7402bcc2a984d","size":34357,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.5.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.5_1626060240156_0.12656087001601235"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:48.111Z","publish_time":1626060240274,"_cnpm_publish_time":1626060240274},"0.1.4":{"name":"@antv/smart-color","version":"0.1.4","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://github.com/antvis/smart-color#readme","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/jest":"^26.0.23","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"chroma-js":"^2.1.2","color-blind":"^0.1.1","color-schema-test":"^0.1.8","colorthief":"^2.3.2","lodash":"^4.17.21","uuid":"^8.3.2"},"gitHead":"a5607ba3256dd9f89947d6ff9d706c8401e2536a","_id":"@antv/smart-color@0.1.4","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"03102a30061b69c906a0dde916745b2c01651234","size":34356,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.4.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.4_1625823675083_0.9325523811604024"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:45.789Z","publish_time":1625823675293,"_cnpm_publish_time":1625823675293},"0.1.3":{"name":"@antv/smart-color","version":"0.1.3","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://github.com/antvis/smart-color#readme","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/jest":"^26.0.23","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"chroma-js":"^2.1.2","color-blind":"^0.1.1","color-schema-test":"^0.1.8","colorthief":"^2.3.2","lodash":"^4.17.21","uuid":"^8.3.2"},"gitHead":"81a59ddff77bd9f93b098503953ac769d00253b9","_id":"@antv/smart-color@0.1.3","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"7e1874eab43fcd9e14ee662172398737481fe719","size":33329,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.3.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.3_1625116241084_0.2977897825357938"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:43.512Z","publish_time":1625116241323,"_cnpm_publish_time":1625116241323},"0.1.2":{"name":"@antv/smart-color","version":"0.1.2","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","start:demo":"cd demo && npm install && npm start"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://github.com/antvis/smart-color#readme","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/jest":"^26.0.23","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"chroma-js":"^2.1.2","color-blind":"^0.1.1","color-schema-test":"^0.1.8","colorthief":"^2.3.2","lodash":"^4.17.21","uuid":"^8.3.2"},"gitHead":"a75dda36057954d30280830a4e01b8e5a424b9c1","_id":"@antv/smart-color@0.1.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"56667eb931c189bc72727ed5d7e56da8c567aadf","size":40212,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.2.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.2_1625107945202_0.1437798589767496"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:41.127Z","publish_time":1625107945395,"_cnpm_publish_time":1625107945395},"0.1.1":{"name":"@antv/smart-color","version":"0.1.1","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","postinstall":"cd demo && npm install","start:demo":"cd demo && npm start"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://github.com/antvis/smart-color#readme","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/jest":"^26.0.23","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"chroma-js":"^2.1.2","color-blind":"^0.1.1","color-schema-test":"^0.1.6","colorthief":"^2.3.2","lodash":"^4.17.21","uuid":"^8.3.2"},"gitHead":"dc588be42a4404a293a8e45f5d3b5c607964fc85","_id":"@antv/smart-color@0.1.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"9abf6048ede7fbdee72b545c17f032c8805a58d7","size":39907,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.1.tgz"},"_npmUser":{"name":"cxxxxxn","email":"christy05.chen@gmail.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.1_1625035473978_0.6756275460558072"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:38.747Z","hasInstallScript":true,"publish_time":1625035474142,"_cnpm_publish_time":1625035474142},"0.1.0":{"name":"@antv/smart-color","version":"0.1.0","description":"A JavaScript library for color computation.","main":"lib/index.js","module":"esm/index.js","unpkg":"dist/smart-color.min.js","types":"lib/index.d.ts","scripts":{"clean":"rimraf lib esm dist","lint-staged":"lint-staged","size":"limit-size","format":"prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"","lint":"eslint ./src/**/*.ts ./__tests__/**/*.ts && prettier ./src ./__tests__ --check","fix":"eslint ./src/**/*.ts ./__tests__/**/*.ts --fix && npm run format","test":"jest","build:umd":"rimraf ./dist && rollup -c && npm run size","build:cjs":"rimraf ./lib && tsc --module commonjs --outDir lib","build:esm":"rimraf ./esm && tsc --module ESNext --outDir esm","build":"run-p build:*","ci":"run-s lint test build","prepublishOnly":"npm run ci","prepare":"husky install","postinstall":"cd demo && npm install","start:demo":"cd demo && npm start"},"keywords":["antv","ava","color"],"repository":{"type":"git","url":"git+https://github.com/antvis/smart-color.git"},"author":{"name":"AntV","url":"https://antv.vision/"},"license":"MIT","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/antvis/smart-color/issues"},"homepage":"https://github.com/antvis/smart-color#readme","devDependencies":{"@babel/runtime":"^7.14.6","@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-typescript":"^8.2.1","@types/jest":"^26.0.23","@typescript-eslint/eslint-plugin":"^4.28.0","@typescript-eslint/parser":"^4.28.0","eslint":"^7.29.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^8.3.0","eslint-import-resolver-typescript":"^2.4.0","eslint-plugin-import":"^2.23.4","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.24.0","husky":"^6.0.0","jest":"^27.0.5","limit-size":"^0.1.4","lint-staged":"^11.0.0","npm-run-all":"^4.1.5","prettier":"^2.3.1","rimraf":"^3.0.2","rollup":"^2.52.2","rollup-plugin-uglify":"^6.0.4","ts-jest":"^27.0.3","tslib":"^2.3.0","typescript":"^4.3.4","wolfy87-eventemitter":"^5.2.9"},"lint-staged":{"*.{ts,tsx}":["eslint --fix","prettier --write","git add"]},"limit-size":[{"path":"dist/smart-color.min.js","limit":"8 Kb","gzip":true},{"path":"dist/smart-color.min.js","limit":"24 Kb"}],"dependencies":{"chroma-js":"^2.1.2","color-blind":"^0.1.1","color-schema-test":"^0.1.6","colorthief":"^2.3.2","lodash":"^4.17.21","uuid":"^8.3.2"},"gitHead":"96f0144952366fad7f98fed9ceb9b0e5a392ea4a","_id":"@antv/smart-color@0.1.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"shasum":"6520389c314141725ff13cd1333ddaa68372be06","size":39565,"noattachment":false,"key":"/@antv/smart-color/-/@antv/smart-color-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@antv/smart-color/download/@antv/smart-color-0.1.0.tgz"},"_npmUser":{"name":"neoddish","email":"neoddish@outlook.com"},"directories":{},"maintainers":[{"name":"afc163","email":""},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":""},{"name":"baizn","email":""},{"name":"banxuan","email":""},{"name":"basketduck","email":""},{"name":"bbsqq","email":""},{"name":"biupiubiupiu","email":""},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"bubkoo","email":""},{"name":"ccnuzindex","email":""},{"name":"chenluli","email":""},{"name":"cxxxxxn","email":""},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dreammy23","email":""},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"flash1","email":""},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"intchous","email":""},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"kasmine","email":""},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"l1ud0ngq1","email":""},{"name":"laixingui.lxg","email":""},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lvisei","email":""},{"name":"lzxue","email":""},{"name":"mxz96102","email":""},{"name":"nadia_liu","email":""},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"panyuqi","email":""},{"name":"pddpd","email":""},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pomelo-nwu","email":""},{"name":"rainy25ghz","email":""},{"name":"sakuya223","email":""},{"name":"semious2020","email":"semious@163.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"soundquiet","email":""},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"susan_ann","email":""},{"name":"susiwen8","email":""},{"name":"winniexing","email":""},{"name":"wjgogogo","email":""},{"name":"xdddst","email":""},{"name":"xdzhao","email":""},{"name":"xuying1027","email":""},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"yanxiong","email":""},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"yiqianyao","email":""},{"name":"yisi.wang","email":""},{"name":"zengyue","email":""},{"name":"zeyuwang","email":""},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"zhangjunjie-loki","email":""},{"name":"zqlu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smart-color_0.1.0_1625033126014_0.5473370889346141"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T17:34:36.463Z","hasInstallScript":true,"publish_time":1625033126166,"_cnpm_publish_time":1625033126166}},"readme":"<h1 align=\"center\">\n<b>@antv/smart-color</b>\n</h1>\n\n<div align=\"center\">\nA JavaScript library for color computation.\n</div>\n\n## ✨ Features\n\n* **Palette Generation**: Generate categorical or discrete scale palette based on [color scheme](https://github.com/neoddish/color-palette-json-schema#colorschemetype).\n* **Palette Optimization**: Optimize palette to enhance color discriminability.\n* **Palette Extraction**: Get palettes from strings and images.\n* **Color Simulation**: Simulate color blindness and color in grayscale.\n* **Color Evaluation**: Evaluate color discriminability and aesthetics.\n* **Color Computation**: Blend colors, brighten or darken colors.\n* **Color Conversion**: Convert color into different formats.\n\n## ???? Installation\n\n```bash\n$ npm install @antv/smart-color\n```\n\n## ???? Getting Started\n\n* Palette Generation\n\n```ts\nimport { paletteGeneration } from '@antv/smart-color';\n\npaletteGeneration(\"monochromatic\", {\n  color: {\n    model: \"rgb\",\n    value: { r: 91, g: 143, b: 249 },\n  },\n  count: 7,\n  tendency: \"shade\"\n});\n```\n\n<div align=\"center\">\n  <img src=\"https://gw.alipayobjects.com/zos/antfincdn/vmwgZKfSZB/jieping2021-07-01%252520xiawu3.01.26.png\" alt=\"auto generated palette\">\n</div>\n\n* Palette Optimization\n\n```ts\nimport { PaletteOptimization } from '@antv/smart-color';\n\nconst palette = {\n  name: \"color4\",\n  semantic: null,\n  type: \"categorical\",\n  colors: [\n    { model: \"rgb\", value: { r: 101, g: 120, b: 155 }, },\n    { model: \"rgb\", value: { r: 91, g: 143, b: 249 }, },\n    { model: \"rgb\", value: { r: 97, g: 221, b: 170 }, },\n    { model: \"rgb\", value: { r: 246, g: 189, b: 22 }, }\n  ],\n}\npaletteOptimization(palette, {\n  locked: [true],\n  simulationType: \"grayscale\"\n});\n```\n\n<div align=\"center\">\n  <div>\n    <span>Before:</span>\n    <img src=\"https://gw.alipayobjects.com/zos/antfincdn/jT0dtYywS8/jieping2021-07-01%252520xiawu3.24.42.png\" alt=\"palette before optimization\">\n  </div>\n  <div>\n    After:\n    <img src=\"https://gw.alipayobjects.com/zos/antfincdn/HCdz8Z8kr%26/jieping2021-07-01%252520xiawu3.24.29.png\" alt=\"palette after optimization\" >\n  </div>\n</div>\n\n* Color Simulation\n\n```ts\nimport { colorSimulation } from '@antv/smart-color';\n\nconst color = {\n  model: \"rgb\",\n  value: { r: 91, g: 143, b: 249 },\n}\ncolorSimulation(color, \"achromatomaly\");\n```\n\n<div align=\"center\">\n  <img height=100 src=\"https://gw.alipayobjects.com/zos/antfincdn/fxjnaPrLZ6/jieping2021-07-01%252520xiawu3.11.52.png\" alt=\"color simulation result\">\n</div>\n\n## ???? Links\n\n* [API Reference](./docs/api/readme.md)\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://antvis.github.io/smart-color","bugs":{"url":"https://github.com/antvis/smart-color/issues"},"license":"MIT"}