{"_id":"postcss-class-repeat","_rev":"5-cc89e1335c490f647fc7527d0bde69b1","name":"postcss-class-repeat","description":"Repeat class selectors to increase specificity","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"postcss-class-repeat","description":"Repeat class selectors to increase specificity","author":{"name":"John Otander"},"version":"0.1.0","main":"index.js","files":["index.js"],"scripts":{"test":"ava"},"repository":{"type":"git","url":"git+https://github.com/johnotander/postcss-class-repeat.git"},"keywords":["class","css","repeat","specificity","postcss","postcss-plugin"],"license":"MIT","dependencies":{"class-repeat":"^1.0.1","has-class-selector":"^1.0.0","is-present":"^1.0.0","postcss":"^5.0.19"},"devDependencies":{"ava":"*"},"gitHead":"a45b3cae82c731b37838d1a3ac004b6e5f2055ec","bugs":{"url":"https://github.com/johnotander/postcss-class-repeat/issues"},"homepage":"https://github.com/johnotander/postcss-class-repeat#readme","_id":"postcss-class-repeat@0.1.0","_shasum":"fb6cced12a9d98f859f474d8188b666e6da87b4e","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"fb6cced12a9d98f859f474d8188b666e6da87b4e","tarball":"https://registry.npmjs.org/postcss-class-repeat/-/postcss-class-repeat-0.1.0.tgz","integrity":"sha512-jy79N3ykKL/DrHUC1RHJB718sSpBxcpfZBzAYqGOab+bww4iCy7JNHQTlIEhW0isbaJ+Fb3IknTksiuije1/yg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDSQl0g8VowccYXcUEMqcNjT5HIpNbJ1WZ4W5QsK0WpOAiEA71lyhlt4Ib1x4DuHzOHU01fXC1Aak00ZYZZ5R4lPmsk="}]},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/postcss-class-repeat-0.1.0.tgz_1457044960494_0.4763242965564132"}},"0.1.1":{"name":"postcss-class-repeat","description":"Repeat class selectors to increase specificity","author":{"name":"John Otander"},"version":"0.1.1","main":"index.js","files":["index.js"],"scripts":{"test":"ava"},"repository":{"type":"git","url":"git+https://github.com/johnotander/postcss-class-repeat.git"},"keywords":["class","css","repeat","specificity","postcss","postcss-plugin"],"license":"MIT","dependencies":{"class-repeat":"^1.0.2","has-class-selector":"^1.0.0","is-present":"^1.0.0","postcss":"^5.0.19"},"devDependencies":{"ava":"*"},"gitHead":"c43ff5256f14d40cda24821cdbffe645aa3f53f9","bugs":{"url":"https://github.com/johnotander/postcss-class-repeat/issues"},"homepage":"https://github.com/johnotander/postcss-class-repeat#readme","_id":"postcss-class-repeat@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"integrity":"sha512-0+G/JGaxsJP+a1+epFQ/XCCe9fnpr04Iq0LVp0/9DEZPcP66a/nIECgFDjwNLSOYiDnEv8p4SoWGiMqkzFd5uA==","shasum":"09fb9730399cc8612a38346cbb02b99b5b50b596","tarball":"https://registry.npmjs.org/postcss-class-repeat/-/postcss-class-repeat-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH8ODmxR+XDhnzyUMFclF7frRmMITfXK0YamVs0zsMWMAiEAuESLXDdr/wJSZ5XE+R7IqGc16HFQaV1rpkYGwvFb4Zg="}]},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-class-repeat-0.1.1.tgz_1509982828175_0.8496613164898008"}}},"readme":"# postcss-class-repeat [![Build Status](https://secure.travis-ci.org/johnotander/postcss-class-repeat.png?branch=master)](https://travis-ci.org/johnotander/postcss-class-repeat) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nRepeat class selectors to increase specificity, useful for using utility classes with legacy codebases with high specificity\n\n## Installation\n\n```bash\nnpm install --save postcss-class-repeat\n```\n\n## Usage\n\n```javascript\nvar postcss = require('postcss')\nvar classRepeat = require('postcss-class-repeat')\n\npostcss([ classRepeat() ]).process(myCss).css\n```\n\n#### Input\n\n```css\n.foo.bar,\n.baz:before {\n  color: tomato;\n}\n\n.hello > .world {\n  background-color: tomato;\n}\n\n@media screen and (min-width: 123em) {\n  .yay { color: red; }\n}\n```\n\n#### Output\n\n```css\n.foo.foo.bar.bar,\n.baz.baz:before {\n  color: tomato;\n}\n\n.hello.hello > .world.world {\n  background-color: tomato;\n}\n\n@media screen and (min-width: 123em) {\n  .yay.yay { color: red; }\n}\n```\n\n##### Options\n\n- `repeat`: Number, amount of times to repeat the class selectors. Default: `2`\n\n###### Using custom options\n\n```javascript\nvar postcss = require('postcss')\nvar classRepeat = require('postcss-class-repeat')\n\npostcss([ classRepeat({ repeat: 4 }) ]).process(myCss).css\n```\n\n```css\n.foo.foo.foo.foo.bar.bar.bar.bar,\n.baz:before.baz:before.baz:before.baz:before {\n  color: tomato;\n}\n\n.hello.hello.hello.hello > .world.world.world.world {\n  background-color: tomato;\n}\n\n@media screen and (min-width: 123em) {\n  .yay.yay.yay.yay { color: red; }\n}\n```\n\n## Related\n\n* <https://github.com/johnotander/class-repeat>\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"time":{"modified":"2022-06-24T09:35:58.867Z","created":"2016-03-03T22:42:41.678Z","0.1.0":"2016-03-03T22:42:41.678Z","0.1.1":"2017-11-06T15:40:29.102Z"},"homepage":"https://github.com/johnotander/postcss-class-repeat#readme","keywords":["class","css","repeat","specificity","postcss","postcss-plugin"],"repository":{"type":"git","url":"git+https://github.com/johnotander/postcss-class-repeat.git"},"author":{"name":"John Otander"},"bugs":{"url":"https://github.com/johnotander/postcss-class-repeat/issues"},"license":"MIT","readmeFilename":"readme.md"}