{"_id":"@ansi-art/color","_rev":"3-ab791d06be6f32301913e28ccde0e113","name":"@ansi-art/color","dist-tags":{"latest":"3.0.0-alpha4"},"versions":{"3.0.0-alpha1":{"name":"@ansi-art/color","version":"3.0.0-alpha1","_id":"@ansi-art/color@3.0.0-alpha1","maintainers":[{"name":"khrome","email":"abbey@khrome.net"}],"dist":{"shasum":"7584f61d2b09f2b82b25f236319e6451736cfc85","tarball":"https://registry.npmjs.org/@ansi-art/color/-/color-3.0.0-alpha1.tgz","fileCount":24,"integrity":"sha512-oaRQMJQHNSkuWUznKtV/hdHTMs0xAzBxyQ2FEnEGTH0JSeb/0PaiSRBw4YJnIU+lJBn/Fapb6hehTm9wT2I/Eg==","signatures":[{"sig":"MEQCIHKWicj52DCq48rTHf5yQLNBu3CMmVBltEFXL+PN2dY/AiAQ7NotPsgI4OWe6yaFw8BFAdRXoFLBmB1mZTcwVLalkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBXYcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmop3w//SRt2qRcsaxM8atCMKiNA3VtmnLgqebH3tY29vpJNp+Y0Nq28\r\nlLBBBv/q9T3w9wLIsYSA3380YSS2v/umLE87qLMNp9HUYjv/MynAzQZOdTb2\r\ntLwXBSqYXDr4NiPYi35dydqFVufnbzgmWj/Ugzm+hFk2C8n1ln7yOdl6+XQf\r\nIj2hcWpbGX4p1aXMDNP3txbGC+d2tJ5jiw+/Ae0RIFx/HsMy3vBo4ao/ddpt\r\n8vlnws4eJc/S0Ilo0Ks0rDZCk7OM409tMpl22OXqXhHKMCQdxRSlwjIoPtUj\r\nHKc1pLBuBEvtULzK31aN1ZkV4iet0hEtYIjgWQe7VlvPMmF7C6bt8N5Hdo5i\r\nQD1x2o/PaCW/u7aDOEuRe3eq8c1+hy4FWROODlSi34Yi5roJ8Z+nOgB7mFAw\r\nXegQFV9XYLiqHKu6dootgYbZN/lWXjkA1H+yBsdQyh7A+KRieIn5DGXgawC1\r\nni7WtqvreCarNN3sgpkODA5wA0SlKwg760aai47yi/76qScAPuNXz7+u0pWO\r\nCNMi+hbd88tDoFfOe7GC+C4Y+e48lfrhDkyl9r3PxdWnPVNRZ+1TzuP/mnA/\r\nBbLHHnuDAGvJKWdoalrR/VEnZmDVBDeMJvRgPoWf+uSTQt706RAcHc5n/hR3\r\ng8QW4VHzC9nXXZm02A3GWBhjq5WL41GTnAU=\r\n=LLGU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"color.js","gitHead":"19d38e6b2b35d55985c1828fd5f244e6fea60f75","scripts":{"lint":"eslint *.js src/*.js test/*.js","test":"mocha","next-major":"pysemver bump major $(jq .version package.json| tr -d \\\")","next-minor":"pysemver bump minor $(jq .version package.json| tr -d \\\")","next-patch":"pysemver bump patch $(jq .version package.json| tr -d \\\")","npm-publish":"npm run tag-current-version; git push --follow-tags; npm publish","generate-docs":"for i in src/*.js; do ./node_modules/.bin/jsdoc2md \"${i}\" > \"docs/$(basename ${i%.js}).md\"; done","container-test":"docker build . -t  ansi-art/color -f ./containers/test.dockerfile; docker logs --follow \"$(docker run -d ansi-art/color)\"","generate-types":"jsdoc -t node_modules/tsd-jsdoc/dist -r src/. -d types","increment-major":"npm version major","increment-minor":"npm version minor","increment-patch":"npm version patch","generate-artifacts":"npm run generate-types; npm run generate-typescript-root; npm run generate-docs","tag-current-version":"git tag -a $(echo $(cat package.json | jq '(\"v\" + .version)' --unbuffered) | tr -d \"\\\"\") -m \"Release Version\"","generate-typescript-root":"cat ./types/types.d.ts > .d.ts","add-generated-files-to-commit":"git add docs/*.md; git add types/*.ts; git add .d.ts"},"_npmUser":{"name":"khrome","email":"abbey@khrome.net"},"precommit":["lint","test","container-test","generate-types","generate-typescript-root","generate-docs"],"_npmVersion":"8.8.0","description":"@ansi-art/color ===============","directories":{},"_nodeVersion":"18.1.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","husky":"^8.0.3","jsdoc":"^3.6.3","mocha":"^10.2.0","eslint":"^8.35.0","tsd-jsdoc":"^2.5.0","pre-commit":"^1.2.2","@commitlint/cli":"^17.4.4","jsdoc-to-markdown":"^8.0.0","@commitlint/config-conventional":"^17.4.4"},"precommit.colors":true,"_npmOperationalInternal":{"tmp":"tmp/color_3.0.0-alpha1_1678079516605_0.9572896702292315","host":"s3://npm-registry-packages"}},"3.0.0-alpha2":{"name":"@ansi-art/color","version":"3.0.0-alpha2","_id":"@ansi-art/color@3.0.0-alpha2","maintainers":[{"name":"khrome","email":"abbey@khrome.net"}],"dist":{"shasum":"79231a7d67a8ca3e2f480eb06096147f92a3baf2","tarball":"https://registry.npmjs.org/@ansi-art/color/-/color-3.0.0-alpha2.tgz","fileCount":24,"integrity":"sha512-cw3t3Wde1nyquuwnFo0luuUGwJplCJmCBejVh8zEkkB/kEnuWVFGTeo9J4fH+N3wWhFzbH0NIzXtgrStz5Vesw==","signatures":[{"sig":"MEYCIQCKqcG4Ox7jRQuo44z1xrVEWVWGbKlO1pd4CwcVuA+OygIhAKl8k+MlAegxDXGTDmOqTEEI2nbd2WFbqmLLOAVF333L","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkH62wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxIxAAmjE8kOcXdEGEKIw8UYgEB6oRp61NAOkrRyZ/enyXgSebuexf\r\n1Sg99cNceaPf/+nqWY6+gfgWHNteNYvJrZxQwS+NZqU8XVBWOeioxjEaoNqQ\r\ndFtG9n8t0V1tZ1bXq0ttDQgygO9GS/ePhbh7hEe3IFTGiAQz52R93DI9k/Lw\r\n72RHnajF7DRwARGtLLGFxrq6PRZhok4MeDhxPUgktHQDDYiQ89nKFEr0etNT\r\nPLzjlig/aaIJFbZ6adGRhs3BCrQ3r87WS8qqiSlHXYawmu8KpNfI/aFz8Peo\r\nRjuSlcj6gexV1EZEgz60wVCRJuHHHFa+Z7o7Sp2YS5uytW0/+R8sA77+pdo2\r\nMvTq93/7AXjkPEOWc3H0UIcx5cdy/yqX0Hg5XUMvhnR483ce3VIcSat8ojCC\r\nM7o1ORSNhkvUgcxtuIUAORFCJ2dm4ag06OTWovqIhkYU5XpOgw8p1DyLmu2H\r\nfNAOctp1KAM3TGL6NPwfbeySzI62z/TfH3CWLoduxtrvtEgzgIji8hukxfjS\r\n6G9apSk6KNR2c4nAGmzCbxSSWbP6/tXr181IvntDzZwT1KpmYB7qoSsDIIly\r\nADyNN1ArlSLOYqZvlR8ZjeaumMgF4MMgKlPfhCP0OMtPEtkUXXb6Hf3x12BC\r\nxxJ70OF5OWdFWH6TsWgxiqmImBlYSQXpYMw=\r\n=sMMk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"color.js","gitHead":"98a519e7196a5221d0762012c6b31836ba0a3ae4","scripts":{"lint":"eslint *.js src/*.js test/*.js","test":"mocha","next-major":"pysemver bump major $(jq .version package.json| tr -d \\\")","next-minor":"pysemver bump minor $(jq .version package.json| tr -d \\\")","next-patch":"pysemver bump patch $(jq .version package.json| tr -d \\\")","npm-publish":"npm run tag-current-version; git push --follow-tags; npm publish","generate-docs":"for i in src/*.js; do ./node_modules/.bin/jsdoc2md \"${i}\" > \"docs/$(basename ${i%.js}).md\"; done","container-test":"docker build . -t  ansi-art/color -f ./containers/test.dockerfile; docker logs --follow \"$(docker run -d ansi-art/color)\"","generate-types":"jsdoc -t node_modules/tsd-jsdoc/dist -r src/. -d types","increment-major":"npm version major","increment-minor":"npm version minor","increment-patch":"npm version patch","generate-artifacts":"npm run generate-types; npm run generate-typescript-root; npm run generate-docs","tag-current-version":"git tag -a $(echo $(cat package.json | jq '(\"v\" + .version)' --unbuffered) | tr -d \"\\\"\") -m \"Release Version\"","generate-typescript-root":"cat ./types/types.d.ts > .d.ts","add-generated-files-to-commit":"git add docs/*.md; git add types/*.ts; git add .d.ts"},"_npmUser":{"name":"khrome","email":"abbey@khrome.net"},"precommit":["lint","test","container-test","generate-types","generate-typescript-root","generate-docs"],"_npmVersion":"8.8.0","description":"@ansi-art/color ===============","directories":{},"_nodeVersion":"18.1.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","husky":"^8.0.3","jsdoc":"^3.6.3","mocha":"^10.2.0","eslint":"^8.35.0","tsd-jsdoc":"^2.5.0","pre-commit":"^1.2.2","@commitlint/cli":"^17.4.4","jsdoc-to-markdown":"^8.0.0","@commitlint/config-conventional":"^17.4.4"},"precommit.colors":true,"_npmOperationalInternal":{"tmp":"tmp/color_3.0.0-alpha2_1679797680642_0.40820955453861885","host":"s3://npm-registry-packages"}},"3.0.0-alpha3":{"name":"@ansi-art/color","version":"3.0.0-alpha3","_id":"@ansi-art/color@3.0.0-alpha3","maintainers":[{"name":"khrome","email":"abbey@khrome.net"}],"dist":{"shasum":"2e014967fdae0370f5484878b796bd6ad4304b86","tarball":"https://registry.npmjs.org/@ansi-art/color/-/color-3.0.0-alpha3.tgz","fileCount":35,"integrity":"sha512-bOJq3K3Q9+KIQ5pOKh0x9W6MaZ8drRSrIQNxsOGxvryUmLUTuwKAY1wn63eRK+9K7Rwu2T0Ew4z+lXPHs0EuNA==","signatures":[{"sig":"MEUCIA3BRd4ZX8nx0BH6PKk2mdoh56uzzLIQRkYpI14IENIFAiEA6Lww6yBOCXCyax6zGIHDS/MXMXnFn1QbS1qSrLghEnQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68118},"main":"color.cjs","module":"color.mjs","gitHead":"a325e5633669f1ed525e99a069dd4a5297c936c5","scripts":{"lint":"eslint *.mjs src/*.mjs test/*.mjs","test":"npm run test-require; npm run test-import","build":"npm run build-commonjs-root; npm run build-dist","build-dist":"babel src --out-dir dist --out-file-extension .cjs","next-major":"pysemver bump major $(jq .version package.json| tr -d \\\")","next-minor":"pysemver bump minor $(jq .version package.json| tr -d \\\")","next-patch":"pysemver bump patch $(jq .version package.json| tr -d \\\")","npm-publish":"npm run tag-current-version; git push --follow-tags; npm publish","test-import":"mocha test/test.mjs","test-require":"mocha test/test.cjs","generate-docs":"for i in src/*.mjs; do echo \"${i}\";./node_modules/.bin/jsdoc2md -c jsdoc.json \"${i}\" > \"docs/$(basename ${i%.mjs}).md\"; done","container-test":"docker build . -t  ansi-art/color -f ./containers/test.dockerfile; docker logs --follow \"$(docker run -d ansi-art/color)\"","generate-types":"jsdoc -t node_modules/tsd-jsdoc/dist -r src/. -d types","increment-major":"npm version major","increment-minor":"npm version minor","increment-patch":"npm version patch","generate-artifacts":"npm run generate-types; npm run generate-typescript-root; npm run generate-docs","build-commonjs-root":"babel color.mjs > color.cjs","tag-current-version":"git tag -a $(echo $(cat package.json | jq '(\"v\" + .version)' --unbuffered) | tr -d \"\\\"\") -m \"Release Version\"","generate-typescript-root":"cat ./types/types.d.ts > .d.ts","add-generated-files-to-commit":"git add docs/*.md; git add types/*.ts; git add .d.ts"},"_npmUser":{"name":"khrome","email":"abbey@khrome.net"},"precommit":["lint","build","test","container-test","generate-types","generate-typescript-root","generate-docs"],"_npmVersion":"9.5.1","description":"@ansi-art/color ===============","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","husky":"^8.0.3","jsdoc":"^3.6.3","mocha":"^10.2.0","eslint":"^8.35.0","tsd-jsdoc":"^2.5.0","@babel/cli":"^7.22.5","pre-commit":"^1.2.2","@babel/core":"^7.22.5","@commitlint/cli":"^17.4.4","jsdoc-to-markdown":"^8.0.0","environment-safe-chai":"^0.0.1","@commitlint/config-conventional":"^17.4.4","babel-plugin-search-and-replace":"^1.1.1","@babel/plugin-transform-modules-umd":"^7.22.5"},"precommit.colors":true,"_npmOperationalInternal":{"tmp":"tmp/color_3.0.0-alpha3_1687477997307_0.41838811456034875","host":"s3://npm-registry-packages"}},"3.0.0-alpha4":{"name":"@ansi-art/color","version":"3.0.0-alpha4","main":"color.cjs","module":"color.mjs","type":"module","exports":{".":{"import":"./color.mjs","require":"./color.cjs"},"./src/tools.mjs":{"import":"./color.mjs","require":"./color.cjs"},"./dist/tools.cjs":{"import":"./color.mjs","require":"./color.cjs"},"./index.js":{"import":"./color.mjs","require":"./color.cjs"},"./tools.js":{"import":"./color.mjs","require":"./color.cjs"}},"devDependencies":{"@babel/cli":"^7.22.5","@babel/core":"^7.22.5","@babel/plugin-transform-modules-umd":"^7.22.5","@commitlint/cli":"^17.4.4","@commitlint/config-conventional":"^17.4.4","babel-plugin-search-and-replace":"^1.1.1","chai":"^4.3.7","environment-safe-chai":"^0.0.1","eslint":"^8.35.0","husky":"^8.0.3","jsdoc":"^3.6.3","jsdoc-to-markdown":"^8.0.0","mocha":"^10.2.0","pre-commit":"^1.2.2","tsd-jsdoc":"^2.5.0"},"scripts":{"generate-types":"jsdoc -t node_modules/tsd-jsdoc/dist -r src/. -d types","generate-typescript-root":"cat ./types/types.d.ts > .d.ts","generate-docs":"for i in src/*.mjs; do echo \"${i}\";./node_modules/.bin/jsdoc2md -c jsdoc.json \"${i}\" > \"docs/$(basename ${i%.mjs}).md\"; done","next-patch":"pysemver bump patch $(jq .version package.json| tr -d \\\")","next-minor":"pysemver bump minor $(jq .version package.json| tr -d \\\")","next-major":"pysemver bump major $(jq .version package.json| tr -d \\\")","increment-patch":"npm version patch","increment-minor":"npm version minor","increment-major":"npm version major","build":"npm run build-commonjs-root; npm run build-dist","build-dist":"babel src --out-dir dist --out-file-extension .cjs","build-commonjs-root":"babel color.mjs > color.cjs","test-require":"mocha test/test.cjs","test-import":"mocha test/test.mjs","test":"npm run test-require; npm run test-import","lint":"eslint *.mjs src/*.mjs test/*.mjs","add-generated-files-to-commit":"git add docs/*.md; git add types/*.ts; git add .d.ts","container-test":"docker build . -t  ansi-art/color -f ./containers/test.dockerfile; docker logs --follow \"$(docker run -d ansi-art/color)\"","tag-current-version":"git tag -a $(echo $(cat package.json | jq '(\"v\" + .version)' --unbuffered) | tr -d \"\\\"\") -m \"Release Version\"","npm-publish":"npm run tag-current-version; git push --follow-tags; npm publish","generate-artifacts":"npm run generate-types; npm run generate-typescript-root; npm run generate-docs"},"precommit.colors":true,"precommit":["lint","build","test","container-test","generate-types","generate-typescript-root"],"_id":"@ansi-art/color@3.0.0-alpha4","gitHead":"6542c798f6a9d685e866dfac26d0bb9b89c54f2d","description":"@ansi-art/color ===============","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-JrJzpbMhA4HmF3cV2L7c7gGBZUq7qulMQRudQmio9e7sp4nxJvBCl3ehkiboRxpKJSnkrSRwh2w+9XlUdzjNZA==","shasum":"e02109388db4a07d00238e0eaf096c2523fe894c","tarball":"https://registry.npmjs.org/@ansi-art/color/-/color-3.0.0-alpha4.tgz","fileCount":35,"unpackedSize":60618,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC960/p1Rl0expzpZDya5R15+x9lG7m5+4dUmWFwsT2nQIgSRuCaVKOalCJJ+C9QZbw2TzmF+FwKj7xhwx9n7/yvoo="}]},"_npmUser":{"name":"khrome","email":"abbey@khrome.net"},"directories":{},"maintainers":[{"name":"khrome","email":"abbey@khrome.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color_3.0.0-alpha4_1728099610751_0.26239739682305574"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-06T05:11:56.512Z","modified":"2024-10-05T03:40:11.163Z","3.0.0-alpha1":"2023-03-06T05:11:56.798Z","3.0.0-alpha2":"2023-03-26T02:28:00.767Z","3.0.0-alpha3":"2023-06-22T23:53:17.492Z","3.0.0-alpha4":"2024-10-05T03:40:10.980Z"},"description":"@ansi-art/color ===============","maintainers":[{"name":"khrome","email":"abbey@khrome.net"}],"readme":"@ansi-art/color\n===============\n\nColor and color space handling for ansi colors in terminal output.\n\nColor\n-----\nThis handles representation and conversion for a single color value\n    \n[AsciiArtColor](docs/color.md)\n\nContext\n-------\nThis handles and optimizes access to a color space for a specific usage context\n    \n[AsciiArtColorContext](docs/context.md)\n\nDistance\n--------\nThis is a function that defines how distance between colors is measured\n    \n[AsciiArtColorDistance](docs/distance.md)\n\nMedium\n------\nThis represents a variety of output mediums that have different color profiles. Currently supports `vga`, `darwin` and `xterm`.\n    \n[AsciiArtColorMedium](docs/medium.md)\n\nPalette\n-------\nThis handles conversions of a true color value to something in a colorspace using a particular color perception (distance function).\n    \n[AsciiArtColorPalette](docs/palette.md)\n\nSpace\n-------\nThis handles the available color space.\n    \n[AsciiArtColorSpace](docs/space.md)\n\nTesting\n-------\n\njust run `npm run test` or `npm run container-test`\n\nContribution\n------------\n\nPlease PR contributions against `develop` with [jsdoc](https://jsdoc.app/) and [mocha](https://mochajs.org/) [tests]()  for the new functionality in place for both commonjs and module suites.\n\nThe project uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and the [Fork + PR](https://gist.github.com/Chaser324/ce0505fbed06b947d962) development model.\n\nAll activities in the project are available as npm actions.\n\nEnjoy,\n\nAbbey Hawk Sparrow","readmeFilename":"README.md"}