{"id":15061860,"url":"https://github.com/johno/postcss-select","last_synced_at":"2026-02-03T12:36:48.751Z","repository":{"id":57328486,"uuid":"44254292","full_name":"johno/postcss-select","owner":"johno","description":"Filter CSS based on a given list of selectors","archived":false,"fork":false,"pushed_at":"2016-07-25T19:30:04.000Z","size":14,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T05:20:57.602Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johno.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}},"created_at":"2015-10-14T14:44:11.000Z","updated_at":"2022-01-19T15:36:24.000Z","dependencies_parsed_at":"2022-09-21T02:24:02.588Z","dependency_job_id":null,"html_url":"https://github.com/johno/postcss-select","commit_stats":null,"previous_names":["johnotander/postcss-select"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/johno/postcss-select","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/postcss-select/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fpostcss-select/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29046058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-09-24T23:26:13.207Z","updated_at":"2026-02-03T12:36:48.706Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-select [![Build Status](https://secure.travis-ci.org/johnotander/postcss-select.svg?branch=master)](https://travis-ci.org/johnotander/postcss-select) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nFilter CSS based on a given list of selectors\n\n## Installation\n\n```bash\nnpm install --save postcss-select\n```\n\n## Usage\n\n```javascript\nvar postcss = require('postcss')\nvar select = require('postcss-select')\n\npostcss([ select(['.foo', '.bar']) ]).process(myCss).css\n```\n\n#### Input\n\n```css\n.foo {\n  color: tomato;\n}\n\n.bar {\n  color: hotpink;\n}\n\n.foo .baz {\n  color: purple;\n}\n\n.baz {\n  color: red;\n}\n```\n\n#### Output\n\nAfter `postcss([select(['.foo', '.bar'])`\n\n```css\n.foo {\n  color: tomato;\n}\n\n.bar {\n  color: hotpink;\n}\n```\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 \u003c3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fpostcss-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fpostcss-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fpostcss-select/lists"}