{"id":13826327,"url":"https://github.com/csstools/postcss-selector-not","last_synced_at":"2025-07-09T00:32:51.991Z","repository":{"id":31255116,"uuid":"34816702","full_name":"csstools/postcss-selector-not","owner":"csstools","description":"PostCSS plugin to transform :not() W3C CSS level 4 pseudo class to more compatible CSS (multiple css3 :not() selectors)","archived":true,"fork":false,"pushed_at":"2022-06-06T05:57:03.000Z","size":174,"stargazers_count":47,"open_issues_count":0,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-11T03:32:36.253Z","etag":null,"topics":["javascript","postcss","postcss-plugins"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/csstools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-04-29T20:29:37.000Z","updated_at":"2025-02-27T14:24:39.000Z","dependencies_parsed_at":"2022-08-23T23:50:58.825Z","dependency_job_id":null,"html_url":"https://github.com/csstools/postcss-selector-not","commit_stats":null,"previous_names":["postcss/postcss-selector-not"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/csstools/postcss-selector-not","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-selector-not","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-selector-not/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-selector-not/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-selector-not/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csstools","download_url":"https://codeload.github.com/csstools/postcss-selector-not/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csstools%2Fpostcss-selector-not/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260855947,"owners_count":23073379,"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":["javascript","postcss","postcss-plugins"],"created_at":"2024-08-04T09:01:35.704Z","updated_at":"2025-07-09T00:32:51.933Z","avatar_url":"https://github.com/csstools.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e⚠️ PostCSS Selector Not was moved to \u003ca href=\"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-selector-not\"\u003e@csstools/postcss-plugins\u003c/a\u003e. ⚠️ \u003cbr\u003e\n\u003ca href=\"https://github.com/csstools/postcss-plugins/discussions/75\"\u003eRead the announcement\u003c/a\u003e\u003c/div\u003e\n\n# postcss-selector-not [![CSS Standard Status](https://cssdb.org/images/badges/not-pseudo-class.svg)](https://cssdb.org/#not-pseudo-class) [\u003cimg alt=\"build status\" src=\"https://github.com/postcss/postcss-selector-not/workflows/test/badge.svg\" height=\"20\"\u003e][cli-url]\n\n\u003e PostCSS plugin to transform `:not()` W3C CSS level 4 pseudo class to :not() CSS level 3 selectors\n\nhttp://dev.w3.org/csswg/selectors-4/#negation\n\n[!['Can I use' table](https://caniuse.bitsofco.de/image/css-not-sel-list.png)](https://caniuse.com/#feat=css-not-sel-list)\n\n## Installation\n\n```console\n$ npm install postcss postcss-selector-not\n```\n\n## Usage\n\nUsing this `input.css`:\n\n```css\np:not(:first-child, .special) {\n  color: red;\n}\n```\n\nyou will get:\n\n```css\np:not(:first-child):not(.special) {\n  color: red;\n}\n```\n\n---\n\n## [Changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n\n[cli-url]: https://github.com/postcss/postcss-selector-not/actions/workflows/test.yml?query=workflow/test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsstools%2Fpostcss-selector-not","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsstools%2Fpostcss-selector-not","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsstools%2Fpostcss-selector-not/lists"}