{"name":"postcss-normalize","version":"9.0.0","description":"Use the parts of normalize.css or sanitize.css you need from your browserslist","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-normalize.git"},"homepage":"https://github.com/csstools/postcss-normalize#readme","bugs":{"url":"https://github.com/csstools/postcss-normalize/issues"},"main":"dist/index.cjs.js","module":"dist/index.esm.mjs","scripts":{"build":"npx rollup -c .rollup.js","build:watch":"npx rollup -c .rollup.js --watch","lint":"npx eslint --cache src","lint:fix":"npx eslint --cache --fix","pretest":"npm install && npm run build","test":"npm run lint && npm run tape","tape":"npx postcss-tape"},"engines":{"node":">=10.0.0"},"dependencies":{"@csstools/normalize.css":"*","postcss":"^7.0.27","postcss-browser-comments":"^3.0.0","sanitize.css":"*"},"devDependencies":{"@babel/core":"^7.9.0","@babel/plugin-syntax-import-meta":"^7.8.3","@babel/preset-env":"^7.9.5","babel-eslint":"^10.1.0","eslint":"^6.8.0","postcss-import":"^12.0.1","postcss-tape":"^5.0.2","pre-commit":"^1.2.2","rollup":"^2.6.0","rollup-plugin-babel":"^4.4.0"},"babel":{"plugins":["@babel/plugin-syntax-import-meta"],"presets":[["@babel/env",{"targets":"maintained node versions"}]]},"eslintConfig":{"env":{"es6":true,"node":true},"extends":"eslint:recommended","parser":"babel-eslint"},"rollup":{"input":"src/index.js","plugins":["rollup-plugin-babel"],"output":[{"file":"dist/index.cjs.js","format":"cjs"},{"file":"dist/index.esm.js","format":"esm"}]},"keywords":["postcss","css","postcss-plugin","normalizes","browsers","fixes"],"gitHead":"9f094c7f96c8450341721800dd564fa617049f9d","_id":"postcss-normalize@9.0.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-//kq5O1xkygzN1iCioFIBtzyVTgB6ce9+Hu0mNHuUhPn+FnnFSPybe5kBemnUPPqd7QrHc+kdX6GVECUWdU2uQ==","shasum":"3b551279f78ec3b2e151bc8cf52ff6e46c4cc60c","tarball":"http://registry-npm.ywwl.com/postcss-normalize/download/postcss-normalize-9.0.0.tgz","fileCount":6,"unpackedSize":30714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJek4fNCRA9TVsSAnZWagAAm3oP/iCSn5iBxDVyhEXZS5Eh\nyvWpxAfDGnxZ+3eHrC+iDmplc8DxjJNSPef0zamdD4w3/ptIYkbs29NVQwXr\nag2ncAfe33SrsKVJSKaIPb0ADo05FvcB+GgGhIrj960ttWpSQsDN0T5CoJQl\nFH75pGuZimABdtLCwvX5xGneD49PRD3PFQ94PrWQHw1PLp9Gn7TWufKH47rV\nkoPOQwOj0KDty+4CMjsSWnatl46RoYsunDLBWk5lhL20UAOydWW3NBtwwP3I\nfGMMWGhKoF8WvcE8XkHL/EZVlCVp13Q14IrKd5eqWnSrAOqIGSpLKNyTxM9M\n8gvWvZlPxEdr07ggbyd9UL0Bmy6cUWvMVKYBG7GgVZ9jVOURZnuE83no8Swg\nIrYS4VufvmdZFh+k9XSFYsMl/aXOmfPt4Lh2uVvaoOuBQMd2y+pny270qZZ+\naTbWt6oJoQGCjsZZgDFakMwxBmrZTAN6ODRdOTMMxMoZWh67Z0tZkBFI9u6B\nt8RtqqBJK4U42YBfzQ1fr12KnN5L0GEI+MxH6tc0re4o+fNuO423C2Nv9r8K\nycRMrpDh2q2v5SZDocy1f3PmieiqmutkVcJbHaFQOY8RDrKqiKfBdH+Lx2fw\n7Xp6LPFk2dArv8MrSiFixiRhRB7xpIdNw5+wPd53R75OZ8qJ/wBiyLdtyOrN\nsnaK\r\n=vOB/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLLzGJ14TcMaV+3UwP89cwcSvit5vkIl7NlTMKyc/vMgIgBoG/ug6ifCChTbm/E783VKSJsUmSNS8R/PXqYefFYcA="}],"size":8014,"noattachment":false,"key":"/postcss-normalize/-/postcss-normalize-9.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"seaneking","email":"sean@simpla.io"}],"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-normalize_9.0.0_1586726861048_0.0674413500699842"},"_hasShrinkwrap":false,"readme":"# PostCSS Normalize [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[<img alt=\"npm version\" src=\"https://img.shields.io/npm/v/postcss-normalize.svg\" height=\"20\">][npm-url]\n[<img alt=\"build status\" src=\"https://img.shields.io/travis/csstools/postcss-normalize/main.svg\" height=\"20\">][cli-url]\n[<img alt=\"support chat\" src=\"https://img.shields.io/badge/support-chat-blue.svg\" height=\"20\">][git-url]\n\n[PostCSS Normalize] lets you use the parts of [normalize.css] or [sanitize.css]\nthat you need from your [browserslist].\n\n```css\n@import \"normalize.css\";\n```\n\n```css\n@import \"sanitize.css\";\n```\n\n**PostCSS Normalize** uses a non-opinionated version of [normalize.css], but\nan opinionated version may also be used.\n\n```css\n@import \"normalize.css/opinionated.css\";\n```\n\n### Examples\n\nHere is a sample of what **normalize.css** looks like when the **browserslist**\nis `ie >= 9`:\n\n```css\n/**\n * Add the correct display in IE 9-.\n */\n\naudio,\nvideo {\n  display: inline-block;\n}\n\n/**\n * Remove the border on images inside links in IE 10-.\n */\n\nimg {\n  border-style: none;\n}\n```\n\nAnd here is the same sample when the **browserslist** is `ie >= 10`:\n\n```css\n/**\n * Remove the border on images inside links in IE 10-.\n */\n\nimg {\n  border-style: none;\n}\n```\n\n## Usage\n\nAdd [PostCSS Normalize] to your project:\n\n```bash\nnpm install postcss-normalize --save-dev\n```\n\nAdd a [browserslist] entry in `package.json`:\n\n```json\n{\n  \"browserslist\": \"last 2 versions\"\n}\n```\n\nUse **PostCSS Normalize** to process your CSS:\n\n```js\nconst postcssNormalize = require('postcss-normalize')\n\npostcssNormalize.process(YOUR_CSS /*, processOptions, pluginOptions */)\n```\n\nOr use it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss')\nconst postcssNormalize = require('postcss-normalize')\n\npostcss([\n  postcssNormalize(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */)\n```\n\n**PostCSS Normalize** runs in all Node environments, with special instructions\nfor:\n\n| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |\n| --- | --- | --- | --- | --- | --- |\n\n## PostCSS Import Usage\n\n**PostCSS Normalize** includes a `postcssImport` function to configure\n[PostCSS Import] and allow you to continue using the `@import` syntax.\n\n```js\nconst postcss = require('postcss')\nconst postcssImport = require('postcss-import')\nconst postcssNormalize = require('postcss-normalize')\n\npostcss([\n  postcssImport(\n    postcssNormalize(\n      /* pluginOptions (for PostCSS Normalize) */\n    ).postcssImport(\n      /* pluginOptions (for PostCSS Import) */\n    )\n  )\n]) // now you can use @import \"normalize.css\", etc. again\n```\n\nAlternatively, use `@import-normalize` or `@import-sanitize` to avoid conflicts\nwith `@import` transforms.\n\n```pcss\n@import-normalize;\n```\n\n```pcss\n@import-normalize \"opinionated.css\";\n```\n\n```pcss\n@import-sanitize;\n```\n\n## Options\n\n### allowDuplicates\n\nThe `allowDuplicates` option determines whether multiple, duplicate insertions\nof CSS libraries are allowed. By default, duplicate libraries are omitted.\n\n```js\npostcssNormalize({ allowDuplicates: true })\n```\n\n### forceImport\n\nThe `forceImport` option defines CSS libraries that will be inserted at the\nbeginning of the CSS file. Unless overriden by `allowDuplicates`, duplicate\nCSS libraries would still be omitted.\n\n```js\npostcssNormalize({ forceImport: true })\n```\n\nSpecific CSS libraries may be defined.\n\n```js\npostcssNormalize({\n  forceImport: 'sanitize.css'\n})\n```\n\n### browsers\n\nThe `browsers` option defines an override of the project’s **browserslist** for\n**PostCSS Normalize**. This option should be avoided in leui of a browserslist\nfile.\n\n```js\npostcssNormalize({ browsers: 'last 2 versions' })\n```\n\n## CSS Libraries\n\n**PostCSS Normalize** can include [normalize.css] or [sanitize.css] and\nconfigure either with the following combinations:\n\n```css\n@import \"normalize\"; /* also, @import \"normalize.css\" */\n@import \"normalize/opinionated\"; /* also, @import \"normalize.css/opinionated.css\", @import \"normalize.css/*\" */\n@import \"sanitize\"; /* also, @import \"sanitize.css\" */\n@import \"sanitize/assets\"; /* also, @import \"sanitize.css/assets.css\" */\n@import \"sanitize/forms\"; /* also, @import \"sanitize.css/forms.css\" */\n@import \"sanitize/reduce-motion\"; /* also, @import \"sanitize.css/reduce-motion.css\" */\n@import \"sanitize/system-ui\"; /* also, @import \"sanitize.css/system-ui.css\" */\n@import \"sanitize/typography\"; /* also, @import \"sanitize.css/typography.css\" */\n@import \"sanitize/ui-monospace\"; /* also, @import \"sanitize.css/ui-monospace.css\" */\n@import \"sanitize/*\"; /* also, @import \"sanitize.css/*\" (sanitize + all additions) */\n```\n\n[cli-img]: https://img.shields.io/travis/csstools/postcss-normalize/main.svg\n[cli-url]: https://travis-ci.org/csstools/postcss-normalize\n[git-img]: https://img.shields.io/badge/support-chat-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/postcss-normalize.svg\n[npm-url]: https://www.npmjs.com/package/postcss-normalize\n\n[browserslist]: http://browserl.ist/\n[CSS Libraries]: #css-libraries\n[normalize.css]: https://github.com/csstools/normalize.css\n[Options]: #options\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Import]: https://github.com/postcss/postcss-import\n[PostCSS Import Usage]: #postcss-import-usage\n[PostCSS Normalize]: https://github.com/csstools/postcss-normalize\n[sanitize.css]: https://github.com/csstools/sanitize.css\n","publish_time":1586726861159,"_cnpm_publish_time":1586726861159,"dist-tags":{"latest":"13.0.1"}}