{"name":"@csstools/postcss-normalize-display-values","description":"Use two values display syntax for inner and outer display types.","version":"2.0.1","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.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":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"dependencies":{"postcss-value-parser":"^4.2.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{"prebuild":"npm run clean","build":"rollup -c ../../rollup/default.mjs","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"","docs":"node ../../.github/bin/generate-docs/install.mjs","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","test":"node .tape.mjs && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-normalize-display-values"},"keywords":["block","css","display","flex","flow","flow-root","grid","inline","inline-block","inline-flex","inline-grid","inline-table","list-item","postcss-plugin","ruby","ruby-base","ruby-text","run-in","table","table-caption","table-cell"],"csstools":{"exportName":"postcssNormalizeDisplayValues","humanReadableName":"PostCSS Normalize Display Values"},"volta":{"extends":"../../package.json"},"gitHead":"54c92f37555e07f8dd1914398ba05103247fde05","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"homepage":"https://github.com/csstools/postcss-plugins#readme","_id":"@csstools/postcss-normalize-display-values@2.0.1","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"integrity":"sha512-TQT5g3JQ5gPXC239YuRK8jFceXF9d25ZvBkyjzBGGoW5st5sPXFVQS8OjYb9IJ/K3CdfK4528y483cgS2DJR/w==","shasum":"35dc188c5b4713cf902959fe3c8ce613fcb7543e","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-normalize-display-values/download/@csstools/postcss-normalize-display-values-2.0.1.tgz","fileCount":8,"unpackedSize":15280,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIASnmpuHaoIH+utOY4bL6TuT/gYcoxRIiz1twN4lFjM/AiEAo4G0O1bC+iS0bgXkIwDq6T1a+CIo3NsY5YlnFpS0PwI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1NMSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHxA//YxqAieHQReGBRJA26Q1E7urdRI/qAZ4MIu+WlPxqe9nsY9Zh\r\nATHJP+L2SkkYGDw4QnSroxOMSUvTmqkjIALcGQ09lny5fiEUEUbI2qMXA5xj\r\nWiaAh2iDeXuelIezmoAYLAi3jIMhdpo8o2lZqFiMZ1nc9aPm289HnQxid3rJ\r\n7bfUuA5IhQZXhrhyJMrmC3TpVAGhhO0M5ILAMZ0hlY7VceisAmknK5Xvh/sl\r\nyduFxjskRhA60rRZb8OGN5lUDYOxdA+c0QV5mDbzdmdLSqNKNGg1PIDbAjOV\r\n2Uejbq2zfVDpUdAgfNcVbni8ke4lMnoNJZ+h7mTBNuTQ/HY3oAvS+cGKT4Co\r\nhFHt77tnuWe2V1x77Rdkz733qYsImW6h7+AWgTTWS44DIhcGGEsJ7pKCeefw\r\nOTcLQFxBLih75h9Cs0Lfx1owCppOWKLzi1vIwFGr8AydxoRcckRtNdzAUWws\r\nhQZfb19Y/zhQAlqBgDlsWuSwk1FfVQN0EYjAG19FyGt+kLodD8vXJvaD2t8W\r\n4+y+iMUTD5VRbq8rEgfhiawZPL+JDSzBk137J0/W6fElTRFqOyZMhJmgtSAi\r\nOORbLWSytzqQFJ4nSsZGxC7+oCXUdNlmiGucVSGMyli3jA5a8oCzwwSQt4LR\r\n4ck/g60YE2w/+ZL7SFcYkZA/UH/WzthGfM0=\r\n=ikQ2\r\n-----END PGP SIGNATURE-----\r\n","size":5600,"noattachment":false,"key":"/@csstools/postcss-normalize-display-values/-/@csstools/postcss-normalize-display-values-2.0.1.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-normalize-display-values_2.0.1_1674892050520_0.3145471624963707"},"_hasShrinkwrap":false,"readme":"# PostCSS Normalize Display Values [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[<img alt=\"npm version\" src=\"https://img.shields.io/npm/v/@csstools/postcss-normalize-display-values.svg\" height=\"20\">][npm-url]\n[<img alt=\"CSS Standard Status\" src=\"https://cssdb.org/images/badges/display-two-values.svg\" height=\"20\">][css-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[PostCSS Normalize Display Values] lets you specify definition of outer and inner displays types for an element.\n\n```pcss\n.element {\n  display: inline flow-root;\n}\n\n/* becomes */\n\n.element {\n  display: inline-block;\n  display: inline flow-root;\n}\n```\n\n_See prior work by [cssnano](https://github.com/cssnano) here [postcss-normalize-display-values](https://github.com/cssnano/cssnano/tree/master/packages/postcss-normalize-display-values)\nTo ensure long term maintenance and to provide the needed features this plugin was recreated based on cssnano's work._\n\n## Usage\n\nAdd [PostCSS Normalize Display Values] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-normalize-display-values --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssNormalizeDisplayValues = require('@csstools/postcss-normalize-display-values');\n\npostcss([\n  postcssNormalizeDisplayValues(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Normalize Display Values] runs in all Node environments, with special\ninstructions for:\n\n| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |\n| --- | --- | --- | --- | --- |\n\n## Options\n\n### preserve\n\nThe `preserve` option determines whether the original source\nis preserved. By default, it is preserved.\n\n```js\npostcssNormalizeDisplayValues({ preserve: false })\n```\n\n```pcss\n.element {\n  display: inline flow-root;\n}\n\n/* becomes */\n\n.element {\n  display: inline-block; \n}\n```\n\n[postcss]: https://github.com/postcss/postcss\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#display-two-values\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-normalize-display-values\n\n[CSS Fonts]: https://www.w3.org/TR/css-display-3/#the-display-properties\n[Gulp PostCSS]: https://github.com/postcss/gulp-postcss\n[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Loader]: https://github.com/postcss/postcss-loader\n[PostCSS Normalize Display Values]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-normalize-display-values\n","publish_time":1674892050689,"_cnpm_publish_time":1674892050689,"dist-tags":{"latest":"5.0.1"}}