{"_id":"postcss-color-rgb","_rev":"306430","name":"postcss-color-rgb","description":"PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"dmarchena","email":"dvmarchena@gmail.com"}],"time":{"modified":"2021-06-03T19:33:01.000Z","created":"2016-11-10T21:06:17.706Z","2.0.0":"2017-05-25T16:31:20.139Z","1.1.4":"2016-11-16T18:41:43.521Z","1.1.3":"2016-11-16T17:00:56.303Z","1.1.2":"2016-11-14T16:33:42.155Z","1.1.1":"2016-11-13T18:25:46.703Z","1.1.0":"2016-11-11T20:01:58.374Z","1.0.0":"2016-11-10T21:06:17.706Z"},"users":{},"author":{"name":"David Marchena"},"repository":{"type":"git","url":"git+https://github.com/dmarchena/postcss-color-rgb.git"},"versions":{"2.0.0":{"name":"postcss-color-rgb","version":"2.0.0","description":"PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())","keywords":["postcss","css","postcss-plugin","color","rgb","rgba"],"author":{"name":"David Marchena"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dmarchena/postcss-color-rgb.git"},"bugs":{"url":"https://github.com/dmarchena/postcss-color-rgb/issues"},"homepage":"https://github.com/dmarchena/postcss-color-rgb","main":"dist/index.js","files":["dist","!**/__tests__"],"dependencies":{"postcss":"^6.0.1","postcss-value-parser":"^3.3.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.14.0","babel-register":"^6.14.0","coveralls":"^2.11.13","eslint":"^3.4.0","eslint-config-postcss":"^2.0.2","npm-run-all":"^3.1.0","nyc":"^8.3.0","rimraf":"^2.5.4"},"scripts":{"clean":"rimraf dist","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint src/**/*.js","pretest":"npm run lint","test:ava":"ava","test":"nyc npm run test:ava","prebuild":"npm-run-all clean lint","build":"babel src --out-dir dist","prepublish":"npm run build"},"babel":{"presets":["es2015"],"plugins":["add-module-exports"]},"ava":{"files":["src/__tests__/*.js","!**/postcss-test.js"],"require":["babel-register"],"babel":"inherit"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"c3e91040dc744fa3f4316ba0e8d9a157b8e45de6","_id":"postcss-color-rgb@2.0.0","_shasum":"14539c8a7131494b482e0dd1cc265ff6514b5263","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"dmarchena","email":"dvmarchena@gmail.com"},"dist":{"shasum":"14539c8a7131494b482e0dd1cc265ff6514b5263","size":3330,"noattachment":false,"key":"/postcss-color-rgb/-/postcss-color-rgb-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-rgb/download/postcss-color-rgb-2.0.0.tgz"},"maintainers":[{"name":"dmarchena","email":"dvmarchena@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-color-rgb-2.0.0.tgz_1495729879333_0.05939282989129424"},"directories":{},"publish_time":1495729880139,"_hasShrinkwrap":false,"_cnpm_publish_time":1495729880139},"1.1.4":{"name":"postcss-color-rgb","version":"1.1.4","description":"PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())","keywords":["postcss","css","postcss-plugin","color","rgb","rgba"],"author":{"name":"David Marchena"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dmarchena/postcss-color-rgb.git"},"bugs":{"url":"https://github.com/dmarchena/postcss-color-rgb/issues"},"homepage":"https://github.com/dmarchena/postcss-color-rgb","main":"dist/index.js","files":["dist","!**/__tests__"],"dependencies":{"postcss":"^5.2.0","postcss-value-parser":"^3.3.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.14.0","babel-register":"^6.14.0","coveralls":"^2.11.13","eslint":"^3.4.0","eslint-config-postcss":"^2.0.2","npm-run-all":"^3.1.0","nyc":"^8.3.0","rimraf":"^2.5.4"},"scripts":{"clean":"rimraf dist","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint src/**/*.js","pretest":"npm run lint","test:ava":"ava","test":"nyc npm run test:ava","prebuild":"npm-run-all clean lint","build":"babel src --out-dir dist","prepublish":"npm run build"},"babel":{"presets":["es2015"],"plugins":["add-module-exports"]},"ava":{"files":["src/__tests__/*.js","!**/postcss-test.js"],"require":["babel-register"],"babel":"inherit"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"1326833163d6a3f8fa9871b7ac81de607dcff693","_id":"postcss-color-rgb@1.1.4","_shasum":"f29243e22e8e8c13434474092372d4ce605be8bc","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"dmarchena","email":"dvmarchena@gmail.com"},"dist":{"shasum":"f29243e22e8e8c13434474092372d4ce605be8bc","size":3359,"noattachment":false,"key":"/postcss-color-rgb/-/postcss-color-rgb-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-rgb/download/postcss-color-rgb-1.1.4.tgz"},"maintainers":[{"name":"dmarchena","email":"dvmarchena@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/postcss-color-rgb-1.1.4.tgz_1479321702975_0.13285924517549574"},"directories":{},"publish_time":1479321703521,"_cnpm_publish_time":1479321703521,"_hasShrinkwrap":false},"1.1.3":{"name":"postcss-color-rgb","version":"1.1.3","description":"PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())","keywords":["postcss","css","postcss-plugin","color","rgb","rgba"],"author":{"name":"David Marchena"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dmarchena/postcss-color-rgb.git"},"bugs":{"url":"https://github.com/dmarchena/postcss-color-rgb/issues"},"homepage":"https://github.com/dmarchena/postcss-color-rgb","main":"dist/index.js","files":["dist","!**/__tests__"],"dependencies":{"postcss":"^5.2.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.14.0","babel-register":"^6.14.0","coveralls":"^2.11.13","eslint":"^3.4.0","eslint-config-postcss":"^2.0.2","npm-run-all":"^3.1.0","nyc":"^8.3.0","postcss-value-parser":"^3.3.0","rimraf":"^2.5.4"},"scripts":{"clean":"rimraf dist","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint src/**/*.js","pretest":"npm run lint","test:ava":"ava","test":"nyc npm run test:ava","prebuild":"npm-run-all clean lint","build":"babel src --out-dir dist","prepublish":"npm run build"},"babel":{"presets":["es2015"],"plugins":["add-module-exports"]},"ava":{"files":["src/__tests__/*.js","!**/postcss-test.js"],"require":["babel-register"],"babel":"inherit"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"97bc5a78c38b4c40425c379a682f025cba7ae6fe","_id":"postcss-color-rgb@1.1.3","_shasum":"45ef405d7bb9833c0753838c4ebadcc3f5a45862","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"dmarchena","email":"dvmarchena@gmail.com"},"dist":{"shasum":"45ef405d7bb9833c0753838c4ebadcc3f5a45862","size":3331,"noattachment":false,"key":"/postcss-color-rgb/-/postcss-color-rgb-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-rgb/download/postcss-color-rgb-1.1.3.tgz"},"maintainers":[{"name":"dmarchena","email":"dvmarchena@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-color-rgb-1.1.3.tgz_1479315654180_0.8152602787595242"},"directories":{},"publish_time":1479315656303,"_cnpm_publish_time":1479315656303,"_hasShrinkwrap":false},"1.1.2":{"name":"postcss-color-rgb","version":"1.1.2","description":"PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())","keywords":["postcss","css","postcss-plugin","color","rgb","rgba"],"author":{"name":"David Marchena"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dmarchena/postcss-color-rgb.git"},"bugs":{"url":"https://github.com/dmarchena/postcss-color-rgb/issues"},"homepage":"https://github.com/dmarchena/postcss-color-rgb","main":"dist/index.js","files":["dist","!**/__tests__"],"dependencies":{"postcss":"^5.2.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.14.0","babel-register":"^6.14.0","coveralls":"^2.11.13","eslint":"^3.4.0","eslint-config-postcss":"^2.0.2","npm-run-all":"^3.1.0","nyc":"^8.3.0","postcss-value-parser":"^3.3.0","rimraf":"^2.5.4"},"scripts":{"clean":"rimraf dist","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint src/**/*.js","pretest":"npm run lint","test:ava":"ava","test":"nyc npm run test:ava","prebuild":"npm-run-all clean lint","build":"babel src --out-dir dist","prepublish":"npm run build"},"babel":{"presets":["es2015"],"plugins":["add-module-exports"]},"ava":{"files":["src/__tests__/*.js","!**/postcss-test.js"],"require":["babel-register"],"babel":"inherit"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"6c5251f071723890c7da8cc5ef2924b738c2fe83","_id":"postcss-color-rgb@1.1.2","_shasum":"2d7fa21f1a30f7fcc95a4f12deac6b93d42541c7","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"dmarchena","email":"dvmarchena@gmail.com"},"dist":{"shasum":"2d7fa21f1a30f7fcc95a4f12deac6b93d42541c7","size":3265,"noattachment":false,"key":"/postcss-color-rgb/-/postcss-color-rgb-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-rgb/download/postcss-color-rgb-1.1.2.tgz"},"maintainers":[{"name":"dmarchena","email":"dvmarchena@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-color-rgb-1.1.2.tgz_1479141220186_0.6904799570329487"},"directories":{},"publish_time":1479141222155,"_cnpm_publish_time":1479141222155,"_hasShrinkwrap":false},"1.1.1":{"name":"postcss-color-rgb","version":"1.1.1","description":"PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())","keywords":["postcss","css","postcss-plugin","color","rgb","rgba"],"author":{"name":"David Marchena"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dmarchena/postcss-color-rgb.git"},"bugs":{"url":"https://github.com/dmarchena/postcss-color-rgb/issues"},"homepage":"https://github.com/dmarchena/postcss-color-rgb","main":"dist/index.js","files":["dist"],"dependencies":{"postcss":"^5.2.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.14.0","babel-register":"^6.14.0","coveralls":"^2.11.13","eslint":"^3.4.0","eslint-config-postcss":"^2.0.2","npm-run-all":"^3.1.0","nyc":"^8.3.0","postcss-value-parser":"^3.3.0","rimraf":"^2.5.4"},"scripts":{"clean":"rimraf dist","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint src/**/*.js","pretest":"npm run lint","test:ava":"ava","test":"nyc npm run test:ava","prebuild":"npm-run-all clean lint","build":"babel src --out-dir dist"},"babel":{"presets":["es2015"],"plugins":["add-module-exports"]},"ava":{"files":["src/__tests__/*.js","!**/postcss-test.js"],"require":["babel-register"],"babel":"inherit"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"0f9c3c9abab17dfdfde6d5c7821366ed6e999158","_id":"postcss-color-rgb@1.1.1","_shasum":"5ede767f95d6c7a0a519b1912865eb2fc981cc23","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"dmarchena","email":"dvmarchena@gmail.com"},"dist":{"shasum":"5ede767f95d6c7a0a519b1912865eb2fc981cc23","size":2232,"noattachment":false,"key":"/postcss-color-rgb/-/postcss-color-rgb-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-rgb/download/postcss-color-rgb-1.1.1.tgz"},"maintainers":[{"name":"dmarchena","email":"dvmarchena@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/postcss-color-rgb-1.1.1.tgz_1479061546169_0.4711514094378799"},"directories":{},"publish_time":1479061546703,"_cnpm_publish_time":1479061546703,"_hasShrinkwrap":false},"1.1.0":{"name":"postcss-color-rgb","version":"1.1.0","description":"PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())","keywords":["postcss","css","postcss-plugin","color","rgb","rgba"],"author":{"name":"David Marchena"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dmarchena/postcss-color-rgb.git"},"bugs":{"url":"https://github.com/dmarchena/postcss-color-rgb/issues"},"homepage":"https://github.com/dmarchena/postcss-color-rgb","main":"dist/index.js","files":["dist"],"dependencies":{"postcss":"^5.2.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.14.0","babel-register":"^6.14.0","coveralls":"^2.11.13","eslint":"^3.4.0","eslint-config-postcss":"^2.0.2","npm-run-all":"^3.1.0","nyc":"^8.3.0","postcss-value-parser":"^3.3.0","rimraf":"^2.5.4"},"scripts":{"clean":"rimraf dist","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint src/**/*.js","pretest":"npm run lint","test:ava":"ava","test":"nyc npm run test:ava","prebuild":"npm-run-all clean lint","build":"babel src --out-dir dist"},"babel":{"presets":["es2015"],"plugins":["add-module-exports"]},"ava":{"files":["src/__tests__/*.js","!**/postcss-test.js"],"require":["babel-register"],"babel":"inherit"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"628d763e3adefb8eeafd5cd7e32d1fad330ce4a3","_id":"postcss-color-rgb@1.1.0","_shasum":"212eaca201cbe16aed78441e7393372da1176dbb","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"dmarchena","email":"dvmarchena@gmail.com"},"dist":{"shasum":"212eaca201cbe16aed78441e7393372da1176dbb","size":2026,"noattachment":false,"key":"/postcss-color-rgb/-/postcss-color-rgb-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-rgb/download/postcss-color-rgb-1.1.0.tgz"},"maintainers":[{"name":"dmarchena","email":"dvmarchena@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/postcss-color-rgb-1.1.0.tgz_1478894517874_0.7777735167182982"},"directories":{},"publish_time":1478894518374,"_cnpm_publish_time":1478894518374,"_hasShrinkwrap":false},"1.0.0":{"name":"postcss-color-rgb","version":"1.0.0","description":"PostCSS plugin to transform W3C CSS Color Module Level 4 rgb() new syntax to more compatible CSS (comma-separated rgb() or rgba())","keywords":["postcss","css","postcss-plugin","color","rgb","rgba"],"author":{"name":"David Marchena"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dmarchena/postcss-color-rgb.git"},"bugs":{"url":"https://github.com/dmarchena/postcss-color-rgb/issues"},"homepage":"https://github.com/dmarchena/postcss-color-rgb","main":"dist/index.js","files":["dist"],"dependencies":{"postcss":"^5.2.0"},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-preset-es2015":"^6.14.0","babel-register":"^6.14.0","coveralls":"^2.11.13","eslint":"^3.4.0","eslint-config-postcss":"^2.0.2","npm-run-all":"^3.1.0","nyc":"^8.3.0","postcss-value-parser":"^3.3.0","rimraf":"^2.5.4"},"scripts":{"clean":"rimraf dist","coveralls":"nyc report --reporter=text-lcov | coveralls","lint":"eslint src/**/*.js","pretest":"npm run lint","test:ava":"ava","test":"nyc npm run test:ava","prebuild":"npm-run-all clean lint","build":"babel src --out-dir dist"},"babel":{"presets":["es2015"],"plugins":["add-module-exports"]},"ava":{"files":["src/__tests__/*.js","!**/postcss-test.js"],"require":["babel-register"],"babel":"inherit"},"eslintConfig":{"extends":"eslint-config-postcss/es5"},"gitHead":"9df6e7977f331d40cc17f4ed4706a724da22fd2f","_id":"postcss-color-rgb@1.0.0","_shasum":"aaec6be0da9fe1dad1e16e54a768fad571656483","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.6.0","_npmUser":{"name":"dmarchena","email":"dvmarchena@gmail.com"},"dist":{"shasum":"aaec6be0da9fe1dad1e16e54a768fad571656483","size":2026,"noattachment":false,"key":"/postcss-color-rgb/-/postcss-color-rgb-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-color-rgb/download/postcss-color-rgb-1.0.0.tgz"},"maintainers":[{"name":"dmarchena","email":"dvmarchena@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-color-rgb-1.0.0.tgz_1478811975761_0.6448854869231582"},"directories":{},"publish_time":1478811977706,"_cnpm_publish_time":1478811977706,"_hasShrinkwrap":false}},"readme":"# PostCSS Color Rgb [![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov]\n\n[PostCSS] plugin to transform [W3C CSS Color Module Level 4 rgb()](https://drafts.csswg.org/css-color/#funcdef-rgb) new syntax to more compatible CSS (comma-separated rgb() or rgba()).\n\n[PostCSS]: https://github.com/postcss/postcss\n[ci-img]:  https://travis-ci.org/dmarchena/postcss-color-rgb.svg\n[ci]:      https://travis-ci.org/dmarchena/postcss-color-rgb\n[cov-img]: https://coveralls.io/repos/github/dmarchena/postcss-color-rgb/badge.svg\n[cov]:     https://coveralls.io/github/dmarchena/postcss-color-rgb\n\n## CSS Colors 4 syntax\n\n```\nrgb() = rgb( <percentage>{3} [ / <alpha-value> ]? ) |\n        rgb( <number>{3} [ / <alpha-value> ]? )\n\n<alpha-value> = <number> | <percentage>\n```\n\n## CSS Colors 3 syntax (actual)\n\n```\nrgb() = rgb( <percentage>#{3}) |\n        rgb( <integer>#{3})\n\nrgba() = rgba( <percentage>#{3} , <alpha-value> ) |\n         rgba( <integer>#{3} , <alpha-value> )\n\n<alpha-value> = <number>\n```\n\n## Example\n\n```css\n.foo {\n  /* Input example */\n  color: rgb(250.5 255 255);\n  background-image: linear-gradient(to bottom right, rgb(10% 11% 12% / 90%), rgb(23% 24% 25% / .5));\n}\n```\n\n```css\n.foo {\n  /* Output example */\n  color: rgb(251, 255, 255);\n  background-image: linear-gradient(to bottom right, rgba(10%, 11%, 12%, .9), rgba(23%, 24%, 25%, .5));\n}\n```\n\n## Usage\n\n```js\npostcss([ require('postcss-color-rgb') ])\n```\n\nSee [PostCSS] docs for examples for your environment.\n","_attachments":{},"homepage":"https://github.com/dmarchena/postcss-color-rgb","bugs":{"url":"https://github.com/dmarchena/postcss-color-rgb/issues"},"license":"MIT"}