{"id":16346602,"url":"https://github.com/matype/postcss-important","last_synced_at":"2025-06-20T13:36:14.592Z","repository":{"id":24537708,"uuid":"27944173","full_name":"matype/postcss-important","owner":"matype","description":"PostCSS plugin for annotations based `!important`","archived":false,"fork":false,"pushed_at":"2015-09-17T01:55:00.000Z","size":189,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T08:46:49.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matype.png","metadata":{"files":{"readme":"readme.markdown","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}},"created_at":"2014-12-13T00:44:37.000Z","updated_at":"2020-04-20T22:49:45.000Z","dependencies_parsed_at":"2022-08-28T09:40:42.098Z","dependency_job_id":null,"html_url":"https://github.com/matype/postcss-important","commit_stats":null,"previous_names":["morishitter/postcss-important","matype/postcss-important","masaakim/postcss-important"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matype/postcss-important","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-important","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-important/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-important/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-important/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matype","download_url":"https://codeload.github.com/matype/postcss-important/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fpostcss-important/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260953873,"owners_count":23088119,"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","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":[],"created_at":"2024-10-11T00:35:45.066Z","updated_at":"2025-06-20T13:36:09.577Z","avatar_url":"https://github.com/matype.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-important [![Build Status](https://travis-ci.org/morishitter/postcss-important.svg)](https://travis-ci.org/morishitter/postcss-important)\n\nPostCSS plugin for annotations based `!important`\n\n## Installation\n\n```shell\n$ npm install postcss-important\n```\n\n## Example\n\n```js\n// Dependencies\nvar fs = require('fs')\nvar postcss = require('postcss')\nvar important = require('postcss-important')\n\n// CSS to be processed\nvar css = fs.readFileSync('input.css', 'utf-8')\n\n// Process CSS\nvar output = postcss()\n  .use(important(css))\n  .process(css)\n  .css\n```\n\nUsing this `input.css`:\n\n```css\n.foo {\n  /* @important */\n  font-size: 12px !important;\n  color: red;\n}\n\n.bar {\n  /*\n   * @important color, padding\n   */\n  color: red;\n  font-size: 12px;\n  padding: 10px;\n}\n```\n\nYou will get:\n\n```css\n.foo {\n  /* @important */\n  font-size: 12px !important;\n  color: red !important;\n}\n\n.bar {\n  /*\n   * @important color, padding\n   */\n  color: red !important;\n  font-size: 12px;\n  padding: 10px !important;\n}\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Masaaki Morishita\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fpostcss-important","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatype%2Fpostcss-important","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fpostcss-important/lists"}