{"id":27736833,"url":"https://github.com/minicss/postcss","last_synced_at":"2026-05-10T05:09:56.897Z","repository":{"id":48011258,"uuid":"514533157","full_name":"minicss/postcss","owner":"minicss","description":"MiniCSS PostCSS Plugin","archived":false,"fork":false,"pushed_at":"2023-03-01T20:00:06.000Z","size":863,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-08T18:07:22.690Z","etag":null,"topics":["css","min","minicss","minification","minifier","minify","postcss","postcss-plugin","typescript"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/minicss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-16T09:24:21.000Z","updated_at":"2022-08-05T10:09:29.000Z","dependencies_parsed_at":"2025-04-28T14:43:07.219Z","dependency_job_id":"50c66a93-864a-4b0f-93ab-5610f6dfb49c","html_url":"https://github.com/minicss/postcss","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/minicss/postcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minicss%2Fpostcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minicss%2Fpostcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minicss%2Fpostcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minicss%2Fpostcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minicss","download_url":"https://codeload.github.com/minicss/postcss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minicss%2Fpostcss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270734915,"owners_count":24636267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","min","minicss","minification","minifier","minify","postcss","postcss-plugin","typescript"],"created_at":"2025-04-28T14:33:20.696Z","updated_at":"2026-05-10T05:09:56.857Z","avatar_url":"https://github.com/minicss.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss\n\nMiniCSS PostCSS Plugin\n\n[![Test](https://github.com/minicss/postcss/actions/workflows/test.yml/badge.svg)](https://github.com/minicss/postcss/actions/workflows/test.yml)\n[![Coverage](https://codecov.io/gh/minicss/postcss/branch/main/graph/badge.svg?token=66XL2V4MY9)](https://codecov.io/gh/minicss/postcss)\n[![License](https://img.shields.io/github/license/minicss/postcss.svg)](https://github.com/minicss/postcss/blob/main/LICENSE)\n[![NPM Version](https://img.shields.io/npm/v/@minicss/postcss.svg)](https://www.npmjs.com/package/@minicss/postcss)\n[![NPM Monthly Downloads](https://img.shields.io/npm/dm/@minicss/postcss.svg)](https://www.npmjs.com/package/@minicss/postcss)\n[![NPM Total Downloads](https://img.shields.io/npm/dt/@minicss/postcss.svg)](https://www.npmjs.com/package/@minicss/postcss)\n[![Built with TypeScript](https://img.shields.io/npm/types/prototyped.js.svg)](https://www.typescriptlang.org)\n[![Tested With Jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io)\n[![Open GitHub Issues](https://img.shields.io/github/issues-raw/minicss/postcss.svg)](https://github.com/minicss/postcss/issues)\n[![Open GitHub Pull Requests](https://img.shields.io/github/issues-pr-raw/minicss/postcss)](https://github.com/minicss/postcss/pulls)\n[![Github Stars](https://img.shields.io/github/stars/minicss/postcss.svg?style=social\u0026label=Stars)](https://github.com/minicss/postcss)\n[![Github Forks](https://img.shields.io/github/forks/minicss/postcss.svg?style=social\u0026label=Fork)](https://github.com/minicss/postcss)\n\n## Table of Content\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Options](#options)\n- [Benchmarks](#benchmarks)\n- [Versioning](#versioning)\n- [Authors](#authors)\n- [License](#license)\n\n## Installation\n\n```shell\nnpm i @minicss/postcss\n```\n\n## Usage\n\nCreate the `postcss.config.js` file:\n\n```javascript\nmodule.exports = {\n  plugins: {\n    \"@minicss/postcss\": {},\n  },\n};\n```\n\n### Options\n\n|     Name      |  Type   | Default |                                                                                                               Description                                                                                                               |\n|:-------------:|:-------:|:-------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|\n|    classes    | boolean | `true`  |                                                                                                  Should the plugin rename css classes                                                                                                   |\n|      ids      | boolean | `true`  |                                                                                                    Should the plugin rename css ids                                                                                                     |\n|   keyframes   | boolean | `true`  | Should the plugin rename css keyframes \u0026 animation names (in case of css `animation`, name should be either first parameter or last parameter if it starts with duration (a digit). if the name is a css variable then this won't work) |\n|   variables   | boolean | `true`  |                                                                                                 Should the plugin rename css variables                                                                                                  |\n| outputMapFile | string  |    -    |                                                                                       Where to write the output map to be used outside the plugin                                                                                       |\n\n\u003e `*` means the options is required.\n\n## Benchmarks\n\nFirst build the project:\n\n```shell\nnpm run build\n```\n\nThen run the command below:\n\n```shell\nnpm run benchmark\n```\n\n## Versioning\n\nWe use [SemVer](http://semver.org) for versioning.\nFor the versions available, see the [releases on this repository](https://github.com/minicss/postcss/releases).\n\n## Authors\n\n- **Ardalan Amini** - _Core Maintainer_ - [@ardalanamini](https://github.com/ardalanamini)\n\nSee also the list of [contributors](https://github.com/minicss/postcss/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/minicss/postcss/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminicss%2Fpostcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminicss%2Fpostcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminicss%2Fpostcss/lists"}