{
  "manifest": {
    "name": "postcss-opacity-percentage",
    "version": "1.1.3",
    "description": "PostCSS plugin to transform percentage-based opacity values to more compatible floating-point values.",
    "keywords": [
      "postcss",
      "css",
      "postcss-plugin",
      "opacity"
    ],
    "license": "MIT",
    "repository": {
      "type": "git",
      "url": "https://github.com/mrcgrtz/postcss-opacity-percentage.git"
    },
    "funding": [
      {
        "type": "kofi",
        "url": "https://ko-fi.com/mrcgrtz"
      },
      {
        "type": "liberapay",
        "url": "https://liberapay.com/mrcgrtz"
      }
    ],
    "author": {
      "name": "Marc Görtz",
      "email": "git@marcgoertz.de",
      "url": "https://marcgoertz.de/"
    },
    "engines": {
      "node": "^12 || ^14 || >=16"
    },
    "main": "index.js",
    "files": [
      "index.js"
    ],
    "scripts": {
      "format": "xo --fix",
      "test": "xo && c8 ava",
      "coverage": "c8 report --reporter=lcov",
      "publish": "clean-publish"
    },
    "peerDependencies": {
      "postcss": "^8.2"
    },
    "devDependencies": {
      "ava": "^4.0.1",
      "c8": "^7.10.0",
      "clean-publish": "^4.0.0",
      "husky": "^8.0.0",
      "lint-staged": "^13.0.0",
      "postcss": "^8.4.5",
      "xo": "^0.52.2"
    },
    "lint-staged": {
      "*.js": "xo --fix"
    },
    "xo": {
      "rules": {
        "unicorn/prefer-module": "off"
      }
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-postcss-opacity-percentage-1.1.3-5b89b35551a556e20c5d23eb5260fbfcf5245da6-integrity/node_modules/postcss-opacity-percentage/package.json",
    "readmeFilename": "README.md",
    "readme": "# PostCSS Opacity Percentage\n\n[![Test](https://github.com/mrcgrtz/postcss-opacity-percentage/actions/workflows/test.yml/badge.svg)](https://github.com/mrcgrtz/postcss-opacity-percentage/actions/workflows/test.yml)\n[![Coverage Status](https://coveralls.io/repos/github/mrcgrtz/postcss-opacity-percentage/badge.svg?branch=main)](https://coveralls.io/github/mrcgrtz/postcss-opacity-percentage?branch=main)\n[![Install size](https://packagephobia.now.sh/badge?p=postcss-opacity-percentage)](https://packagephobia.now.sh/result?p=postcss-opacity-percentage)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![MIT license](https://img.shields.io/github/license/mrcgrtz/postcss-opacity-percentage.svg)](https://github.com/mrcgrtz/postcss-opacity-percentage/blob/main/LICENSE.md)\n\n[PostCSS](https://github.com/postcss/postcss) plugin to transform [percentage-based opacity values](https://www.w3.org/TR/css-color-4/#transparency) to more compatible floating-point values.\n\n## Install\n\nUsing [npm](https://www.npmjs.com/get-npm):\n\n```bash\nnpm install --save-dev postcss postcss-opacity-percentage\n```\n\nUsing [yarn](https://yarnpkg.com/):\n\n```bash\nyarn add --dev postcss postcss-opacity-percentage\n```\n\n## Example\n\n```css\n/* Input */\n.foo {\n  opacity: 45%;\n}\n```\n\n```css\n/* Output */\n.foo {\n  opacity: 0.45;\n}\n```\n\n## Usage\n\n```js\npostcss([\n  require('postcss-opacity-percentage'),\n]);\n```\n\nSee [PostCSS](https://github.com/postcss/postcss) documentation for examples for your environment.\n\n### `postcss-preset-env`\n\nIf you are using [`postcss-preset-env@>=7.3.0`](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md#730-january-31-2022), you already have this plugin installed via this package.\n\n## Options\n\n### `preserve`\n\nThe `preserve` option determines whether the original percentage value is preserved. By default, it is not preserved.\n\n```js\n// Keep the original notation\npostcss([\n  require('postcss-opacity-percentage')({preserve: true}),\n]);\n```\n\n```css\n/* Input */\n.foo {\n  opacity: 45%;\n}\n```\n\n```css\n/* Output */\n.foo {\n  opacity: 0.45;\n  opacity: 45%;\n}\n```\n\n## License\n\nMIT © [Marc Görtz](https://marcgoertz.de/)\n",
    "licenseText": "# MIT License\n\nCopyright (c) 2021 Marc Görtz <https://marcgoertz.de/>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/postcss-opacity-percentage/-/postcss-opacity-percentage-1.1.3.tgz#5b89b35551a556e20c5d23eb5260fbfcf5245da6",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/postcss-opacity-percentage/-/postcss-opacity-percentage-1.1.3.tgz",
    "hash": "5b89b35551a556e20c5d23eb5260fbfcf5245da6",
    "integrity": "sha512-An6Ba4pHBiDtyVpSLymUUERMo2cU7s+Obz6BTrS+gxkbnSBNKSuD0AVUc+CpBMrpVPKKfoVz0WQCX+Tnst0i4A==",
    "registry": "npm",
    "packageName": "postcss-opacity-percentage",
    "cacheIntegrity": "sha512-An6Ba4pHBiDtyVpSLymUUERMo2cU7s+Obz6BTrS+gxkbnSBNKSuD0AVUc+CpBMrpVPKKfoVz0WQCX+Tnst0i4A== sha1-W4mzVVGlVuIMXSPrUmD7/PUkXaY="
  },
  "registry": "npm",
  "hash": "5b89b35551a556e20c5d23eb5260fbfcf5245da6"
}