{"id":15022362,"url":"https://github.com/24webcomponents/spoiler-alert-element","last_synced_at":"2026-03-07T22:03:02.946Z","repository":{"id":64411820,"uuid":"573522321","full_name":"24webcomponents/spoiler-alert-element","owner":"24webcomponents","description":"Don't spoil things!","archived":false,"fork":false,"pushed_at":"2025-01-30T17:36:46.000Z","size":241,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T21:43:35.486Z","etag":null,"topics":["24-web-components","custom-element","web-component"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/24webcomponents.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-02T17:01:59.000Z","updated_at":"2023-01-27T14:53:50.000Z","dependencies_parsed_at":"2024-03-24T17:25:13.461Z","dependency_job_id":"f08a17af-b2cf-4295-afcd-2763a15a530b","html_url":"https://github.com/24webcomponents/spoiler-alert-element","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.31818181818181823","last_synced_commit":"2bc2570abcc0f165d0f1a67a0452d275e5a36b31"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":"github/custom-element-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24webcomponents%2Fspoiler-alert-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24webcomponents%2Fspoiler-alert-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24webcomponents%2Fspoiler-alert-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24webcomponents%2Fspoiler-alert-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/24webcomponents","download_url":"https://codeload.github.com/24webcomponents/spoiler-alert-element/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237843712,"owners_count":19375191,"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":["24-web-components","custom-element","web-component"],"created_at":"2024-09-24T19:57:50.611Z","updated_at":"2025-10-23T14:31:16.166Z","avatar_url":"https://github.com/24webcomponents.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u0026lt;spoiler-alert\u0026gt; element\n\nDon\u0026#039;t spoil things!\n\n## Installation\nAvailable on [npm](https://www.npmjs.com/) as [**spoiler-alert-element**](https://www.npmjs.com/package/spoiler-alert-element).\n```\n$ npm install --save spoiler-alert-element\n```\n\n## Usage\n\n### Script\n\nImport as ES modules:\n\n```js\nimport 'spoiler-alert-element'\n```\n\nInclude with a script tag:\n\n```html\n\u003cscript type=\"module\" src=\"./node_modules/spoiler-alert-element/dist/index.js\"\u003e\n```\n\nMask text until the user interacts with it!\n\n```\n\u003cspoiler-alert\u003eHidden text\u003c/spoiler-alert\u003e\n```\n\n## Browser support\n\nBrowsers without native [custom element support][support] require a [polyfill][].\n- Chrome\n- Firefox\n- Safari\n- Microsoft Edge\n\n[support]: https://caniuse.com/custom-elementsv1\n[polyfill]: https://github.com/webcomponents/custom-elements\n\n## License\n\nDistributed under the MIT license. See LICENSE for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F24webcomponents%2Fspoiler-alert-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F24webcomponents%2Fspoiler-alert-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F24webcomponents%2Fspoiler-alert-element/lists"}