{"name":"purgecss","version":"0.1.2","description":"Remove unused css selectors.","main":"./lib/purgecss.js","module":"./lib/purgecss.es.js","jsnext:main":"./lib/purgecss.es.js","directories":{"doc":"docs","lib":"lib"},"scripts":{"test":"jest .+.test.js","dev":"rollup -c rollup.config.js -w","build":"rollup -c rollup.config.js","flow":"flow","lint":"eslint -c .eslintrc src/","prettier":"prettier --write --print-width 100 --tab-width 4 --no-semi --single-quote '{src,__{tests,mocks}__}/**/*.js'"},"repository":{"type":"git","url":"git+https://github.com/FullHuman/purgecss.git"},"keywords":["optimization","unused","css","purge","uncss","purify"],"author":"","license":"MIT","bugs":{"url":"https://github.com/FullHuman/purgecss/issues"},"homepage":"https://github.com/FullHuman/purgecss#readme","dependencies":{"glob":"^7.1.2","postcss":"^6.0.4","postcss-selector-parser":"^2.2.3","yargs":"^8.0.2"},"devDependencies":{"babel-eslint":"^7.2.3","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-class-properties":"^6.24.1","babel-preset-env":"^1.6.0","babel-preset-flow":"^6.23.0","codacy-coverage":"^2.0.2","eslint":"^4.2.0","eslint-plugin-flowtype":"^2.34.1","flow-bin":"^0.49.1","jest":"^20.0.4","prettier":"^1.5.2","regenerator-runtime":"^0.10.5","rollup":"^0.45.1","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-flow":"^1.1.1","rollup-plugin-node-builtins":"^2.1.2","rollup-plugin-node-resolve":"^3.0.0","rollup-watch":"^4.0.0"},"gitHead":"667f966a42913a930f0a39d1bd075d2c55778254","_id":"purgecss@0.1.2","_npmVersion":"5.1.0","_nodeVersion":"8.1.3","_npmUser":{"name":"ffloriel","email":"ffloriel.dev@gmail.com"},"dist":{"integrity":"sha512-WQeT08tTzRddZ2EtksLkpYdnk5sUGaCcpKglavUZDonUqlF724BDIWD5BCaXCGaCQOjcemGdwfRfdoARgZKBGQ==","shasum":"563be456665da24d8b6d3cee7281999fba3cd61a","tarball":"http://registry-npm.ywwl.com/purgecss/download/purgecss-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs05TooqwDgyhjE2+75G1/jIlwIFQsSa30f4tRTlaifAIgac/kC07CiQHSqpsHOrYXR4aeiYNNX8+D+Qn/bpqXeJY="}],"size":172069,"noattachment":false,"key":"/purgecss/-/purgecss-0.1.2.tgz"},"maintainers":[{"name":"ffloriel","email":"ffloriel.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purgecss-0.1.2.tgz_1499756419200_0.22525076242163777"},"readme":"# PurgeCSS\n\n[![npm](https://img.shields.io/npm/v/purgecss?style=for-the-badge)](https://www.npmjs.com/package/purgecss)\n![npm](https://img.shields.io/npm/dm/purgecss?style=for-the-badge)\n![GitHub](https://img.shields.io/github/license/FullHuman/purgecss?style=for-the-badge)\n![Dependabot](https://img.shields.io/badge/dependabot-enabled-%23024ea4?style=for-the-badge)\n[![Coverage Status](https://img.shields.io/coveralls/github/FullHuman/purgecss/main?style=for-the-badge)](https://coveralls.io/github/FullHuman/purgecss?branch=main)\n\n<p align=\"center\">\n\t<img src=\"https://i.imgur.com/UEiUiJ0.png\" height=\"200\" width=\"200\" alt=\"PurgeCSS logo\"/>\n</p>\n\n## What is PurgeCSS?\n\nWhen you are building a website, chances are that you are using a css framework like Bootstrap, Materializecss, Foundation, etc... But you will only use a small set of the framework and a lot of unused css styles will be included.\n\nThis is where PurgeCSS comes into play. PurgeCSS analyzes your content and your css files. Then it matches the selectors used in your files with the one in your content files. It removes unused selectors from your css, resulting in smaller css files.\n\n## Sponsors 🥰\n\n[<img src=\"https://avatars0.githubusercontent.com/u/67109815?v=4\" height=\"85\" style=\"margin-right: 10px\">](https://tailwindcss.com)\n[<img src=\"https://avatars.githubusercontent.com/u/133211198?v=4\" height=\"85\" style=\"margin-right: 10px\">](https://www.bairesdev.com/sponsoring-open-source-projects/)\n\n## Documentation\n\nYou can find the PurgeCSS documentation on [this website](https://purgecss.com).\n\n### Table of Contents\n\n#### PurgeCSS\n\n- [Configuration](https://purgecss.com/configuration.html)\n- [Command Line Interface](https://purgecss.com/CLI.html)\n- [Programmatic API](https://purgecss.com/api.html)\n- [Safelisting](https://purgecss.com/safelisting.html)\n- [Extractors](https://purgecss.com/extractors.html)\n- [Comparison](https://purgecss.com/comparison.html)\n\n#### Plugins\n\n- [PostCSS](https://purgecss.com/plugins/postcss.html)\n- [Webpack](https://purgecss.com/plugins/webpack.html)\n- [Gulp](https://purgecss.com/plugins/gulp.html)\n- [Grunt](https://purgecss.com/plugins/grunt.html)\n- [Gatsby](https://purgecss.com/plugins/gatsby.html)\n\n#### Guides\n\n- [Vue.js](https://purgecss.com/guides/vue.html)\n- [Nuxt.js](https://purgecss.com/guides/nuxt.html)\n- [React.js](https://purgecss.com/guides/react.html)\n- [Next.js](https://purgecss.com/guides/next.html)\n- [Razzle](https://purgecss.com/guides/razzle.html)\n\n## Getting Started\n\n#### Installation\n\n```\nnpm i --save-dev purgecss\n```\n\n## Usage\n\n```js\nimport PurgeCSS from \"purgecss\";\nconst purgeCSSResults = await new PurgeCSS().purge({\n  content: [\"**/*.html\"],\n  css: [\"**/*.css\"],\n});\n```\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](./../../CONTRIBUTING.md) for details on our code of\nconduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nPurgeCSS use [SemVer](http://semver.org/) for versioning.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./../../LICENSE) file\nfor details.\n","publish_time":1499756420451,"_cnpm_publish_time":1499756420451,"dist-tags":{"latest":"8.0.0","next":"6.0.0-alpha.0"}}