{"id":16812950,"url":"https://github.com/thomaspark/scoper","last_synced_at":"2025-03-17T03:31:35.514Z","repository":{"id":34077798,"uuid":"37885801","full_name":"thomaspark/scoper","owner":"thomaspark","description":"A polyfill for scoped HTML styles elements","archived":false,"fork":false,"pushed_at":"2021-10-11T14:41:48.000Z","size":21,"stargazers_count":82,"open_issues_count":2,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-10T15:16:48.075Z","etag":null,"topics":["css","polyfill","scoped","scoper","style"],"latest_commit_sha":null,"homepage":"","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/thomaspark.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-06-22T23:24:05.000Z","updated_at":"2023-12-29T04:48:56.000Z","dependencies_parsed_at":"2022-07-18T01:10:41.723Z","dependency_job_id":null,"html_url":"https://github.com/thomaspark/scoper","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaspark%2Fscoper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaspark%2Fscoper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaspark%2Fscoper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomaspark%2Fscoper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomaspark","download_url":"https://codeload.github.com/thomaspark/scoper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841207,"owners_count":20356443,"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":["css","polyfill","scoped","scoper","style"],"created_at":"2024-10-13T10:24:06.501Z","updated_at":"2025-03-17T03:31:35.178Z","avatar_url":"https://github.com/thomaspark.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scoper\n\nA polyfill for scoped HTML style elements.\n\n* [Demo](http://jsfiddle.net/thomaspark/rpe402LL/)\n\n# Quick Start\n\nJust include `scoper.js` on your page to start using scoped HTML style elements.\n\nInstall via [npm](https://www.npmjs.com/package/css-scoper): `npm install css-scoper`\n\n# How It Works\n\nEach `\u003cstyle scoped\u003e` element's parent is wrapped with a `span` that is given a unique ID. Its rules are moved to `head` and all selectors prepended with their respective ID.\n\nScoper is only active when the page contains scoped styles and the browser doesn't support them.\n\n# Tests\n\nTests can be run with the command `mocha test/test.js`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomaspark%2Fscoper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomaspark%2Fscoper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomaspark%2Fscoper/lists"}