{"_id":"@csstools/color-helpers","_rev":"261629","name":"@csstools/color-helpers","description":"Color helpers to ease transformation between formats, gamut, etc","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"time":{"modified":"2023-03-27T17:30:35.000Z","created":"2023-02-02T08:42:07.108Z","2.0.0":"2023-03-25T07:39:53.332Z","1.0.0":"2023-02-02T08:42:07.108Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"packages/color-helpers"},"versions":{"2.0.0":{"name":"@csstools/color-helpers","description":"Color helpers to ease transformation between formats, gamut, etc","version":"2.0.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^14 || ^16 || >=18"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"scripts":{"build":"rollup -c ../../rollup/default.mjs","check-sources-integrity":"node ./scripts/check-changes.mjs","check-sources-integrity:rewrite":"REWRITE_HASHES=true node ./scripts/check-changes.mjs","lint":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run build && npm run test","test":"node ./test/_import.mjs && node ./test/_require.cjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"packages/color-helpers"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["colors","css"],"volta":{"extends":"../../package.json"},"eslintConfig":{"rules":{"@typescript-eslint/no-loss-of-precision":"off"}},"gitHead":"f747878ca88d9f7a19a95b4e690aa4d1c5bdc238","_id":"@csstools/color-helpers@2.0.0","_nodeVersion":"18.13.0","_npmVersion":"9.4.1","dist":{"shasum":"4ac578cb00b4e853b94f2250267d85ba957c4fc9","size":23182,"noattachment":false,"key":"/@csstools/color-helpers/-/@csstools/color-helpers-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/@csstools/color-helpers/download/@csstools/color-helpers-2.0.0.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-helpers_2.0.0_1679729993054_0.8729418550863257"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-25T07:39:53.332Z","publish_time":1679729993332,"_cnpm_publish_time":1679729993332},"1.0.0":{"name":"@csstools/color-helpers","description":"Color helpers to ease transformation between formats, gamut, etc","version":"1.0.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^14 || ^16 || >=18"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"scripts":{"prebuild":"npm run clean","build":"rollup -c ../../rollup/default.mjs","check-sources-integrity":"node ./scripts/check-changes.mjs","check-sources-integrity:rewrite":"REWRITE_HASHES=true node ./scripts/check-changes.mjs","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","stryker":"stryker run --logLevel error","test":"npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"packages/color-helpers"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["colors","css"],"volta":{"extends":"../../package.json"},"eslintConfig":{"rules":{"@typescript-eslint/no-loss-of-precision":"off"}},"gitHead":"e2063baeecc582fe2b7d9c5388a34881f0d587b6","_id":"@csstools/color-helpers@1.0.0","_nodeVersion":"16.13.1","_npmVersion":"9.4.1","dist":{"shasum":"7097722a51da1e9e622345ca000261f1ae6e8f58","size":24332,"noattachment":false,"key":"/@csstools/color-helpers/-/@csstools/color-helpers-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/@csstools/color-helpers/download/@csstools/color-helpers-1.0.0.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-helpers_1.0.0_1675327326924_0.9949640753896947"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-02T08:42:07.108Z","publish_time":1675327327108,"_cnpm_publish_time":1675327327108}},"readme":"# Color Helpers\n\n[<img alt=\"npm version\" src=\"https://img.shields.io/npm/v/@csstools/color-helpers.svg\" height=\"20\">][npm-url]\n[<img alt=\"Build Status\" src=\"https://github.com/csstools/postcss-plugins/workflows/test/badge.svg\" height=\"20\">][cli-url]\n[<img alt=\"Discord\" src=\"https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white\">][discord]\n\n## Usage\n\nAdd [Color Helpers] to your project:\n\n```bash\nnpm install @csstools/color-helpers --save-dev\n```\n\nThis package exists to join all the different color functions scattered among the Colors 4 and Colors 5 plugins we maintain such as:\n\n* [PostCSS Color Function]\n* [PostCSS Lab Function]\n* [PostCSS OKLab Function]\n\n## Copyright\n\nThis software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/tree/main/css-color-4. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/color-helpers\n\n[Color Helpers]: https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers\n[PostCSS Color Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function\n[PostCSS Lab Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-lab-functionw\n[PostCSS OKLab Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-oklab-function\n","_attachments":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"license":"CC0-1.0"}