{"_id":"postcss-px-to-viewport","_rev":"17-0dcddd08533ad0081173ab957fd28c09","name":"postcss-px-to-viewport","description":"A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.1":{"name":"postcss-px-to-viewport","description":"A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).","version":"0.0.1","author":{"name":"Dmitry Karpunin","email":"koderfunk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/evrone/postcss-px-to-viewport.git"},"bugs":{"url":"https://github.com/evrone/postcss-px-to-viewport/issues"},"homepage":"https://github.com/evrone/postcss-px-to-viewport","main":"index.js","keywords":["css","units","pixel","px","viewport","vw","vh","vmin","vmax","postcss","postcss-plugin"],"dependencies":{"object-assign":"^4.0.1","postcss":"^5.0.2"},"gitHead":"ecf0ef2bad54c9f4cf6f8b64a5d2777eef4b33b9","_id":"postcss-px-to-viewport@0.0.1","scripts":{},"_shasum":"282a44939cdd48e27d54732d23ea35a93e4d8bf7","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.0","_npmUser":{"name":"koderfunk","email":"koderfunk@gmail.com"},"dist":{"shasum":"282a44939cdd48e27d54732d23ea35a93e4d8bf7","tarball":"https://registry.npmjs.org/postcss-px-to-viewport/-/postcss-px-to-viewport-0.0.1.tgz","integrity":"sha512-Ld+rmZuJzQQlk5RVKNiYZlCEvvrOs1pah4+EKAgJg7kto0cGoxBThpRoYE8yxYJn6jo61L6wiGUkrYik5sQFRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHfIXzkBd1cDwIFTPXIE83S2XJY1gdL7Sfja2xrDEGjOAiEAlYelVWpFEo/ZUDe5Q3k7wluw4Mi3ccHCSvi9728Spcg="}]},"maintainers":[{"name":"koderfunk","email":"koderfunk@gmail.com"}],"directories":{}},"0.0.2":{"name":"postcss-px-to-viewport","description":"A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).","version":"0.0.2","author":{"name":"Dmitry Karpunin","email":"koderfunk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/evrone/postcss-px-to-viewport.git"},"bugs":{"url":"https://github.com/evrone/postcss-px-to-viewport/issues"},"homepage":"https://github.com/evrone/postcss-px-to-viewport","main":"index.js","keywords":["css","units","pixel","px","viewport","vw","vh","vmin","vmax","postcss","postcss-plugin"],"dependencies":{"object-assign":"^4.0.1","postcss":"^5.0.2"},"gitHead":"2b8e75f569a13124439766981d17e625d21df46a","_id":"postcss-px-to-viewport@0.0.2","scripts":{},"_shasum":"726cc95422ebfef34ea2aa04e89f97e4bd5707be","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.0","_npmUser":{"name":"koderfunk","email":"koderfunk@gmail.com"},"dist":{"shasum":"726cc95422ebfef34ea2aa04e89f97e4bd5707be","tarball":"https://registry.npmjs.org/postcss-px-to-viewport/-/postcss-px-to-viewport-0.0.2.tgz","integrity":"sha512-yrDzfcDy5kQ1UeckbzdslVm8QtLGna8TZSvk5hV4rzJ6VthAP2xopMH8qL1noAjzRRwcOE9bBSEAL6bmk1MadQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAxjXsN3ZJWtirKqZdk1lM8zM1m1ZYUAWTNWVWQzuTTAiBKemRAbaqzNpPh5zrj+AOV0LrayW1udnNO+nlAvFENAw=="}]},"maintainers":[{"name":"koderfunk","email":"koderfunk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/postcss-px-to-viewport-0.0.2.tgz_1456845632236_0.915484358323738"},"directories":{}},"0.0.3":{"name":"postcss-px-to-viewport","description":"A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).","version":"0.0.3","author":{"name":"Dmitry Karpunin","email":"koderfunk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/evrone/postcss-px-to-viewport.git"},"bugs":{"url":"https://github.com/evrone/postcss-px-to-viewport/issues"},"homepage":"https://github.com/evrone/postcss-px-to-viewport","main":"index.js","keywords":["css","units","pixel","px","viewport","vw","vh","vmin","vmax","postcss","postcss-plugin"],"dependencies":{"object-assign":"^4.0.1","postcss":"^5.0.2"},"gitHead":"95214818ff69282a5abe0292d6a494d05065d389","_id":"postcss-px-to-viewport@0.0.3","scripts":{},"_shasum":"761259af20ad70adb01f503697337276d7831363","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.0","_npmUser":{"name":"koderfunk","email":"koderfunk@gmail.com"},"dist":{"shasum":"761259af20ad70adb01f503697337276d7831363","tarball":"https://registry.npmjs.org/postcss-px-to-viewport/-/postcss-px-to-viewport-0.0.3.tgz","integrity":"sha512-C7w2/A2XkpnlGvt5VOxnwebJjYxarU3Jt3wuwekwwWccH8UqfZC7b4T0cH4iRau1qA3dSf9eBLgSOSoBF4/GKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYzUMaxej33F7xOrs9+zuB5b+sMvCC6BzfOpm0GmLKgQIhALYuR3/IXjZRC54/I6tRy8SptBQ12hxDMkRjhX0AJp14"}]},"maintainers":[{"name":"koderfunk","email":"koderfunk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-px-to-viewport-0.0.3.tgz_1471947607177_0.9919163470622152"},"directories":{}},"1.0.0":{"name":"postcss-px-to-viewport","description":"A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).","version":"1.0.0","author":{"name":"Dmitry Karpunin","email":"koderfunk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/evrone/postcss-px-to-viewport.git"},"bugs":{"url":"https://github.com/evrone/postcss-px-to-viewport/issues"},"homepage":"https://github.com/evrone/postcss-px-to-viewport","main":"index.js","scripts":{"test":"jasmine-node spec"},"devDependencies":{"jasmine-node":"~1.11.0"},"keywords":["css","units","pixel","px","viewport","vw","vh","vmin","vmax","postcss","postcss-plugin"],"dependencies":{"object-assign":">=4.0.1","postcss":">=5.0.2"},"gitHead":"ab547f4dceb3fe4315eb302da9863460123d1a9b","_id":"postcss-px-to-viewport@1.0.0","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"chernobelenkiy","email":"chernobelenkiy@gmail.com"},"dist":{"integrity":"sha512-ewMNhCNvP6L/M837s7KGYYaKrR05/FQ/fyKFteTVVB2KGF3fNyIk8wlCMNsRdDoPqgD9zjYtEVUdeBnOY2+69w==","shasum":"02640381a777100b8ed4fe431b9e15bc6268606f","tarball":"https://registry.npmjs.org/postcss-px-to-viewport/-/postcss-px-to-viewport-1.0.0.tgz","fileCount":8,"unpackedSize":14908,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT/19CRA9TVsSAnZWagAAQbEQAKHu+Y7ehkfqJc30bYPl\na4Ulo08//cCqiOcqFKep2QLtT4khUXxibDnwsyvyf95RE8NAW44DtURFcwwn\nG+o1qP77NrbpCPx0r4YJYvXNfv4cZavoBovHni/uL7a1KiN12mcJ0cfrkkUL\nx6Bm6RvZnPINs4FCXa6QB8IsPsdSwtFkHcAhRNX4kBNLFMBdZIaKVYu8Yqji\nGPPIXKwzpcJmTR/tmLDbr73mubgd6Mn3yTPDdAI/dKdf9/VBKwNX+SPMGHx3\ngI4BTugcgranGBIfYUtF0suKNsuvhHuFEnfoIDx4KT7D+a0qhzNyw4Duyx0K\nVK1VJiW+cLDBPFeit6gMbmDFocXI+00sJNOHX3YwP1PH2rzZTn9ag5a8wHEu\n7kK/m+CrgEXsYtBfFKyg4XZWFQJQvXyDXz+HtqheUEXHLxZwIKiBtMPv7u/C\nVsJ1iDh2S4aWD9aNPbODlvAjYEfAZmyL1NeSyMhWpOk8u4OknKjLq34sodUP\npmz7LOUNwnGWcMXXIVL7QzdOI1YM2RY1YTFzYf/UsJN/NwCi3RtAZ8d3Yn9i\n9tCipMD2tEmZ9kghh0IEEeKbVxy8ii65zlEkr1sl+MCjQKeBQJePRh7eVby3\nsVOzyrW0Uy84V1VQoMOMaey22nIWkgxOouAJm3ge9q9kMnvjLasUGV1h9xon\n0pE4\r\n=M2yt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDa4kPyf+iOxnnWz2ogxm+E6kf3W06fejFlBZiM3Q0EkAiAZAT8eZaYePHoZRIz4VPQl2wFOGyzzVuK8UH4/F0u3Yw=="}]},"maintainers":[{"name":"koderfunk","email":"koderfunk@gmail.com"},{"name":"pavelgrigoriev","email":"hello@grigoriev.pw"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-px-to-viewport_1.0.0_1548746107962_0.07824664416244431"},"_hasShrinkwrap":false},"1.1.0":{"name":"postcss-px-to-viewport","description":"A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).","version":"1.1.0","author":{"name":"Dmitry Karpunin","email":"koderfunk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/evrone/postcss-px-to-viewport.git"},"bugs":{"url":"https://github.com/evrone/postcss-px-to-viewport/issues"},"homepage":"https://github.com/evrone/postcss-px-to-viewport","main":"index.js","scripts":{"test":"jasmine-node spec"},"devDependencies":{"jasmine-node":"~1.11.0"},"keywords":["css","units","pixel","px","viewport","vw","vh","vmin","vmax","postcss","postcss-plugin"],"dependencies":{"object-assign":">=4.0.1","postcss":">=5.0.2"},"gitHead":"8a04888323322918b7f03b79ebef9e9fd45f790c","_id":"postcss-px-to-viewport@1.1.0","_npmVersion":"6.0.0","_nodeVersion":"10.0.0","_npmUser":{"name":"chernobelenkiy","email":"chernobelenkiy@gmail.com"},"dist":{"integrity":"sha512-EtgneDV+BWtdZly/FNNcY+GynSsvkZE8wFKapwO4cvke/LjRTNbBBZNglG/hipY1Wfb22u7qiMndLJ8maYEwXQ==","shasum":"459356251d0dd1dd7af8b324c28c32da444de610","tarball":"https://registry.npmjs.org/postcss-px-to-viewport/-/postcss-px-to-viewport-1.1.0.tgz","fileCount":12,"unpackedSize":21789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWXCbCRA9TVsSAnZWagAAdDQP/3WQBwcJWKDaPNpvFbg+\n+Zd20qCvKbQWCKlqnWz9mt/awf58cKyHJMA6SOCXTRlHN/xhsD/W5qx/tbj+\nYLJQXtcmiGV8P7GT7Jrq2SoUkQEYPQZWIyg5tHzGqMUtoTG7VtsRfTRxvoV2\n4JuU2+L2lFMmuor1MlcqEz9YghSNR0xmwZUyVji/KB3NlXKURLDUNn5c3FNs\nUKBN+Hyod9gUl+ZW6PD6mh3uCG47srePWHw9yNn+tVGqsfYFf5PZ1cc+FF6W\np9M/oBKbsgds5fm8oNNYXa+eWTex8eD1HpuqqZEhhuOOaO+qRY/ELm/W1SHM\nEa1BvR3UtmzT35eL4EKRs6Nlv/dO8tqouZMHV3+2mllq+Y3lj2RCUqy57c5g\nFP5Uiu7+ExOBj6bTC0NwDZhQmHSl+quslIUIhlWPnI2a16XrjzA2Mp4D2yfj\ncKUySiJNnmqYYtJzE5dr/N6T32DLHrDaQyLGxWklBYy+sJm83JHHz+nhPU6Z\nYYAY3x/Pm2sliOCbXuAziO6uzBfz17ma2i7rQnMo77OXQUtckd3M9rcnQyNd\nUEJetqE4MnjQcfzq8Hf48xpwCQPXKELLrO5BLAAO1oM6D6Aa6BFHTwxNc4Rm\n44fTY0dTPgAM6F77VGSobPNMPCWTLVjXByvxkeoaJS5JQkzDMmL8Knj7vBzA\niVNE\r\n=gWI3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5ZktOHfsfbrqFuuixe/M9CLtfpqgIX4E8gL2LRj/2JgIgPArJdogrUIdA/9HmIwDbQxKDRuZRFXwmXsMNFTKOEh0="}]},"maintainers":[{"name":"koderfunk","email":"koderfunk@gmail.com"},{"name":"pavelgrigoriev","email":"hello@grigoriev.pw"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-px-to-viewport_1.1.0_1549365402874_0.8832079294007777"},"_hasShrinkwrap":false},"1.1.1":{"name":"postcss-px-to-viewport","description":"A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).","version":"1.1.1","author":{"name":"Dmitry Karpunin","email":"koderfunk@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/evrone/postcss-px-to-viewport.git"},"bugs":{"url":"https://github.com/evrone/postcss-px-to-viewport/issues"},"homepage":"https://github.com/evrone/postcss-px-to-viewport","main":"index.js","scripts":{"test":"jasmine-node spec"},"devDependencies":{"jasmine-node":"~1.11.0"},"keywords":["css","units","pixel","px","viewport","vw","vh","vmin","vmax","postcss","postcss-plugin"],"dependencies":{"object-assign":">=4.0.1","postcss":">=5.0.2"},"gitHead":"40da73adf24d85693aa0650766c14c768d69569d","_id":"postcss-px-to-viewport@1.1.1","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-2x9oGnBms+e0cYtBJOZdlwrFg/mLR4P1g2IFu7jYKvnqnH/HLhoKyareW2Q/x4sg0BgklHlP1qeWo2oCyPm8FQ==","shasum":"a25ca410b553c9892cc8b525cc710da47bf1aa55","tarball":"https://registry.npmjs.org/postcss-px-to-viewport/-/postcss-px-to-viewport-1.1.1.tgz","fileCount":13,"unpackedSize":27568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJCvKCRA9TVsSAnZWagAAVeMP/3kpBi/hXzm1m5YHGWwl\nxs6ZuY2K5GkGMv6J8/s3bO0FtryhqncnPfF5imqpMVNYrn9c4VN3ZUlUgek8\nh88C8eaZaXIAZb2O24/EWGu3Nt4vkVXcXfS2z4dHieeAwoeIb1mzHjjsmCJ1\nQEa7U/rbEFXU9rVb5uccYjiaO3RVMGkgK9rp1bd3fYoVf96Ra2Ohhx6yVawo\nCqvBJTkW+tCEByTnnZVks7jLJe++DjquxnUeBf53wpU3S/lAiU5RYDU93YJh\nak4ujOBw63gIKAg83yCPc3uUEZKaix2qFIsPyTxeu+5PieITSxXB8ca8RhBL\nUAJylKb7q3NZOgHUw4wtl1z84I68fkLy6ALqBFACxV+0FwNADY2xfxg4PnZV\nRiPgMwAcmHHKNqEtaWDGNhxE1zniMPWTjsBMua8LWMPQQJEENX8qaxqEQaum\nDjD90fD4xmh2YpjNy2YF/hw893CSFmPv+d0wDA/4gXa0mmyXMGvRvav4qMGV\nZyGPhjcvMNZb0owFFG+Y7pqjT+vuzeIq/TIYEd97/+xgIkWqaIGhlN6+dzKH\nxD+paY3BDcPQZb003ypZphwIPc/7IA1+LQQjH+jEAQTSPcJF1CjSvKiHY6Le\nmCW+TgGTrTDsL9CDduLOZ77mIjjiLUsQ3NHiUuC0lYqHPMTVu+SQRhLZ+eLB\ng+7z\r\n=2+KD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp+6/bfQkre996+RMeC+2oD5M2qJqAtV5ljGCvdDa0nAIhALfHd+V5MrHAgw7NwHg7xZmWTQVEC5uuSgw86wIelKqb"}]},"maintainers":[{"email":"chernobelenkiy@gmail.com","name":"chernobelenkiy"},{"email":"koderfunk@gmail.com","name":"koderfunk"}],"_npmUser":{"name":"koderfunk","email":"koderfunk@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-px-to-viewport_1.1.1_1562651594147_0.5033156177155342"},"_hasShrinkwrap":false}},"readme":"# postcss-px-to-viewport\n[![NPM version](https://badge.fury.io/js/postcss-px-to-viewport.svg)](http://badge.fury.io/js/postcss-px-to-viewport)\n\nEnglish | [中文](README_CN.md) \n\nA plugin for [PostCSS](https://github.com/postcss/postcss) that generates viewport units (vw, vh, vmin, vmax) from pixel units.\n\n<a href=\"https://evrone.com/?utm_source=postcss-px-to-viewport\">\n  <img src=\"https://user-images.githubusercontent.com/417688/34437029-dbfe4ee6-ecab-11e7-9d80-2b274b4149b3.png\"\n       alt=\"Sponsored by Evrone\" width=\"231\">\n</a>\n\n## Demo\n\nIf your project involves a fixed width, this script will help to convert pixels into viewport units.\n\n### Input\n\n```css\n.class {\n  margin: -10px .5vh;\n  padding: 5vmin 9.5px 1px;\n  border: 3px solid black;\n  border-bottom-width: 1px;\n  font-size: 14px;\n  line-height: 20px;\n}\n\n.class2 {\n  border: 1px solid black;\n  margin-bottom: 1px;\n  font-size: 20px;\n  line-height: 30px;\n}\n\n@media (min-width: 750px) {\n  .class3 {\n    font-size: 16px;\n    line-height: 22px;\n  }\n}\n```\n\n### Output\n```css\n.class {\n  margin: -3.125vw .5vh;\n  padding: 5vmin 2.96875vw 1px;\n  border: 0.9375vw solid black;\n  border-bottom-width: 1px;\n  font-size: 4.375vw;\n  line-height: 6.25vw;\n}\n\n.class2 {\n  border: 1px solid black;\n  margin-bottom: 1px;\n  font-size: 6.25vw;\n  line-height: 9.375vw;\n}\n\n@media (min-width: 750px) {\n  .class3 {\n    font-size: 16px;\n    line-height: 22px;\n  }\n}\n```\n\n## Getting Started\n\n### Installation\nAdd via npm\n```\n$ npm install postcss-px-to-viewport --save-dev\n```\nor yarn\n```\n$ yarn add -D postcss-px-to-viewport\n```\n\n### Usage\n\nDefault Options:\n```js\n{\n  unitToConvert: 'px',\n  viewportWidth: 320,\n  unitPrecision: 5,\n  propList: ['*'],\n  viewportUnit: 'vw',\n  fontViewportUnit: 'vw',\n  selectorBlackList: [],\n  minPixelValue: 1,\n  mediaQuery: false,\n  replace: true,\n  exclude: [],\n  landscape: false,\n  landscapeUnit: 'vw',\n  landscapeWidth: 568\n}\n```\n- `unitToConvert` (String) unit to convert, by default, it is px.\n- `viewportWidth` (Number) The width of the viewport.\n- `unitPrecision` (Number) The decimal numbers to allow the vw units to grow to.\n- `propList` (Array) The properties that can change from px to vw.\n  - Values need to be exact matches.\n  - Use wildcard * to enable all properties. Example: ['*']\n  - Use * at the start or end of a word. (['*position*'] will match background-position-y)\n  - Use ! to not match a property. Example: ['*', '!letter-spacing']\n  - Combine the \"not\" prefix with the other prefixes. Example: ['*', '!font*']\n- `viewportUnit` (String) Expected units.\n- `fontViewportUnit` (String) Expected units for font.\n- `selectorBlackList` (Array) The selectors to ignore and leave as px.\n    - If value is string, it checks to see if selector contains the string.\n        - `['body']` will match `.body-class`\n    - If value is regexp, it checks to see if the selector matches the regexp.\n        - `[/^body$/]` will match `body` but not `.body`\n- `minPixelValue` (Number) Set the minimum pixel value to replace.\n- `mediaQuery` (Boolean) Allow px to be converted in media queries.\n- `replace` (Boolean) replaces rules containing vw instead of adding fallbacks.\n- `exclude` (Array or Regexp) Ignore some files like 'node_modules'\n    - If value is regexp, will ignore the matches files.\n    - If value is array, the elements of the array are regexp.\n- `landscape` (Boolean) Adds `@media (orientation: landscape)` with values converted via `landscapeWidth`.\n- `landscapeUnit` (String) Expected unit for `landscape` option\n- `landscapeWidth` (Number) Viewport width for landscape orientation.\n\n#### Use with gulp-postcss\n\nadd to your `gulpfile.js`:\n```js\nvar gulp = require('gulp');\nvar postcss = require('gulp-postcss');\nvar pxtoviewport = require('postcss-px-to-viewport');\n\ngulp.task('css', function () {\n\n    var processors = [\n        pxtoviewport({\n            viewportWidth: 320,\n            viewportUnit: 'vmin'\n        })\n    ];\n\n    return gulp.src(['build/css/**/*.css'])\n        .pipe(postcss(processors))\n        .pipe(gulp.dest('build/css'));\n});\n```\n\n#### Use with PostCss configuration file\n\nadd to your `postcss.config.js`\n```js\nmodule.exports = {\n  plugins: {\n    ...\n    'postcss-px-to-viewport': {\n      // options\n    }\n  }\n}\n```\n\n## Running the tests\n\nIn order to run tests, you need to install `jasmine-node` globally:\n```\n$ npm install jasmine-node -g\n```\nThen run the tests via npm script:\n```\n$ npm run test\n```\n\n## Contributing\n\nPlease read [Code of Conduct](CODE-OF-CONDUCT.md) and [Contributing Guidelines](CONTRIBUTING.md) for submitting pull requests to us.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/evrone/postcss-px-to-viewport/tags). \n\n## Changelog\n\nThe changelog is [here](CHANGELOG.md).\n\n## Authors\n\n* [Dmitry Karpunin](https://github.com/KODerFunk) - *Initial work*\n* [Ivan Bunin](https://github.com/chernobelenkiy)\n\nSee also the list of [contributors](https://github.com/evrone/postcss-px-to-viewport/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Acknowledgments\n\n* Hat tip to https://github.com/cuth/postcss-pxtorem/ for inspiring us for this project.\n","maintainers":[{"email":"chernobelenkiy@gmail.com","name":"chernobelenkiy"},{"email":"koderfunk@gmail.com","name":"koderfunk"}],"time":{"modified":"2024-02-20T06:16:33.631Z","created":"2016-01-19T09:19:45.564Z","0.0.1":"2016-01-19T09:19:45.564Z","0.0.2":"2016-03-01T15:20:35.701Z","0.0.3":"2016-08-23T10:20:08.956Z","1.0.0":"2019-01-29T07:15:08.099Z","1.1.0":"2019-02-05T11:16:42.966Z","1.1.1":"2019-07-09T05:53:14.271Z"},"homepage":"https://github.com/evrone/postcss-px-to-viewport","keywords":["css","units","pixel","px","viewport","vw","vh","vmin","vmax","postcss","postcss-plugin"],"repository":{"type":"git","url":"git+ssh://git@github.com/evrone/postcss-px-to-viewport.git"},"author":{"name":"Dmitry Karpunin","email":"koderfunk@gmail.com"},"bugs":{"url":"https://github.com/evrone/postcss-px-to-viewport/issues"},"license":"MIT","readmeFilename":"README.md","users":{"koderfunk":true,"yanghcc":true,"hdusy":true,"vcboom":true,"myjustify":true}}