{"name":"postcss-initial","version":"4.0.0","description":"PostCSS plugin to fallback initial keyword.","keywords":["postcss","css","postcss-plugin","reset"],"author":{"name":"Maksim Koretskiy","email":"mr.green.tv@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/maximkoretskiy/postcss-initial.git"},"dependencies":{"lodash.template":"^4.5.0"},"peerDependencies":{"postcss":"^8.0.0"},"devDependencies":{"chai":"^4.2.0","eslint":"^4.18.2","husky":"^4.3.0","mocha":"^8.1.3","postcss":"^8.0.5","standard-version":"^9.0.0"},"scripts":{"lint":"eslint *.js ./lib/ ./test/","test":"npm run lint && mocha","tdd":"mocha -w --watch-extensions js,json,css","release":"standard-version"},"husky":{"hooks":{"pre-commit":"npm test","pre-push":"npm test"}},"standard-version":{"scripts":{"prerelease":"npm test"}},"gitHead":"aa881e23a4e208b7c40974f4df7a6921a8d51872","bugs":{"url":"https://github.com/maximkoretskiy/postcss-initial/issues"},"homepage":"https://github.com/maximkoretskiy/postcss-initial#readme","_id":"postcss-initial@4.0.0","_nodeVersion":"12.17.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-BVx3kiJZkUNI18uoeK3vZQpOvUgtwRm5iKnpoPp+umLeXatEzuhfHburM78BugCV4U9tFxXoSlihfcv+XnVCog==","shasum":"5b23c34641db9f84b323e270bab8d6089984acf1","tarball":"http://registry-npm.ywwl.com/postcss-initial/download/postcss-initial-4.0.0.tgz","fileCount":10,"unpackedSize":24308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfc6EVCRA9TVsSAnZWagAALIoP+QDc4Wrqnxsx+y7dZgAM\nxKPfnWr96XJSQq5HPqAlkFSwFI+dt50d5it4vfAIrXfVzG5pfRn+FCzcW6VG\nZ8ziKpXSkTN21o6XwzGTUokHlxFvZZLJbVL+yCFI8JnxC5e0WQQap+7tWmOv\n0/2BmEgI3W/XDGfo9YdCPvoVp9/kAGu3sMmc4U6m0LVUhOiriFfk+niB6miq\neZDWvNnkgOjmMPUjy2czN+NGutG6Zj/kIZo8/oukSZ/JN/B25iPc4q3ckyxv\nO2Ny6CxFWKA/meHLw4K4iJVp0F+lSpQhwoa/j8oX6/j/+a+LbgbiY66tg1mi\nmjT/fvZHs9JXCHnMOOR35lhNYUZBW4QDNSY2cD+bJthBJk6cY8mKHAi0e5yz\ngkh3/tE+umikUyrouA1+vnbdlQpfC4lhm1liX7nMAQGsebjCIi2z0tI3M48k\nkiPlK2bCGXt/Qbi3VXs+QIC076ET6Z2P2SG9eFCXQUAJr0KtJv5QqCPic3ke\nBn7OR+/USampItnkqzEtfOQnI0wC0e6pwQa/rPbg0MbxTPYKYiLHO8GiolkY\no7opLjhC0jfYrfJe3GIjNk7ANMPc8NgN5MfKlap8gRlbIm8qFL30MXx27jen\nfxXCq9kR8iG95KA+whjT6MFg+4JuVbFP2fN3lWH/b0jzcTQNSNJOmofR1Fq2\nVfwx\r\n=SuW1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFn5X2/srDOxITEgzmIWj3G34fyQ2Nlaq2+Gm2JCPp5YAiBGW/i6r9X3WWKoZdkuP7W+dgPxAA3jaHpyY1CQTbr6vw=="}],"size":6811,"noattachment":false,"key":"/postcss-initial/-/postcss-initial-4.0.0.tgz"},"maintainers":[{"name":"maximkoretskiy","email":"mr.green.tv@gmail.com"}],"_npmUser":{"name":"maximkoretskiy","email":"mr.green.tv@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-initial_4.0.0_1601413396995_0.3288695448705432"},"_hasShrinkwrap":false,"readme":"# PostCSS Initial\n[![CSS Standard Status][css-img]][css] [![Build Status][ci-img]][ci] [![NPM Module][npm-img]][npm] [![David DM][david-img]][david]\n\n<img align=\"right\" width=\"135\" height=\"95\"\n     title=\"Philosopher’s stone, logo of PostCSS\"\n     src=\"http://postcss.github.io/postcss/logo-leftp.png\">\n\n[PostCSS] plugin to fallback `initial` keyword. Very useful in combination with\n[postcss-autoreset][reset].\n\n[PostCSS]: https://github.com/postcss/postcss\n[css-img]: https://jonathantneal.github.io/css-db/badge/css-cascade-all-shorthand.svg\n[css]:     https://jonathantneal.github.io/css-db/#css-cascade-all-shorthand\n[ci-img]:  https://travis-ci.org/maximkoretskiy/postcss-initial.svg\n[ci]:      https://travis-ci.org/maximkoretskiy/postcss-initial\n[npm-img]: https://badge.fury.io/js/postcss-initial.svg\n[npm]:     https://www.npmjs.com/package/postcss-initial\n[david-img]:   https://david-dm.org/maximkoretskiy/postcss-initial.svg\n[david]:   https://david-dm.org/maximkoretskiy/postcss-initial\n[reset]:   https://github.com/maximkoretskiy/postcss-autoreset\n\n\n```css\na {\n  animation: initial;\n  background: initial;\n  white-space: initial;\n}\np {\n  background: url(/img1.png),\n              url(/img2.png);\n  background-repeat: initial no-repeat\n}\n```\n\n```css\na {\n  animation: none 0s ease 0s 1 normal none running;\n  animation: initial;\n  background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n  background: initial;\n  white-space: normal;\n  white-space: initial;\n}\np {\n  background: url(/img1.png),\n              url(/img2.png);\n  background-repeat: repeat no-repeat\n}\n```\n\n[!['Can I use' table](https://caniuse.bitsofco.de/image/css-initial-value.png)](https://caniuse.com/#feat=css-initial-value)\n\n**Killer feature!**\n\nUniversal reset from future css!\n```css\na {\n  all: initial;\n}\n```\n\n```css\na {\n  animation: none 0s ease 0s 1 normal none running;\n  backface-visibility: visible;\n  background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;\n  border: medium none currentColor;\n  border-collapse: separate;\n  border-image: none;\n  border-radius: 0;\n  border-spacing: 0;\n  bottom: auto;\n  box-shadow: none;\n  box-sizing: content-box;\n  caption-side: top;\n  clear: none;\n  clip: auto;\n  color: #000;\n  columns: auto;\n  column-count: auto;\n  column-fill: balance;\n  column-gap: normal;\n  column-rule: medium none currentColor;\n  column-span: 1;\n  column-width: auto;\n  content: normal;\n  counter-increment: none;\n  counter-reset: none;\n  cursor: auto;\n  direction: ltr;\n  display: inline;\n  empty-cells: show;\n  float: none;\n  font-family: serif;\n  font-size: medium;\n  font-style: normal;\n  font-variant: normal;\n  font-weight: normal;\n  font-stretch: normal;\n  line-height: normal;\n  height: auto;\n  hyphens: none;\n  left: auto;\n  letter-spacing: normal;\n  list-style: disc outside none;\n  margin: 0;\n  max-height: none;\n  max-width: none;\n  min-height: 0;\n  min-width: 0;\n  opacity: 1;\n  orphans: 2;\n  outline: medium none invert;\n  overflow: visible;\n  overflow-x: visible;\n  overflow-y: visible;\n  padding: 0;\n  page-break-after: auto;\n  page-break-before: auto;\n  page-break-inside: auto;\n  perspective: none;\n  perspective-origin: 50% 50%;\n  position: static;\n  right: auto;\n  tab-size: 8;\n  table-layout: auto;\n  text-align: left;\n  text-align-last: auto;\n  text-decoration: none;\n  text-indent: 0;\n  text-shadow: none;\n  text-transform: none;\n  top: auto;\n  transform: none;\n  transform-origin: 50% 50% 0;\n  transform-style: flat;\n  transition: none 0s ease 0s;\n  unicode-bidi: normal;\n  vertical-align: baseline;\n  visibility: visible;\n  white-space: normal;\n  widows: 2;\n  width: auto;\n  word-spacing: normal;\n  z-index: auto;\n  all: initial;\n}\n```\n\n## Options\n\n### reset\n\nTakes `string`.\nDescribes what subset of rules should be unsetted with `all` property (to reduce code weight).\nPossible subsets: `all`, `inherited`.\nDefault value: `'all'`.\n\n### replace\n\nTakes `boolean`.\nReplace the `initial` with the fallback instead of adding it.\nDefault value: `false`.\n\n## Usage\n\n```js\npostcss([ require('postcss-initial')({\n  reset: 'inherited' // reset only inherited rules\n}) ])\n```\n\nSee [PostCSS] docs for examples for your environment.\n\n## [Changelog](./CHANGELOG.md)\n","publish_time":1601413397120,"_cnpm_publish_time":1601413397120,"dist-tags":{"latest":"3.0.4"}}