{"id":14256038,"url":"https://github.com/github/typing-effect-element","last_synced_at":"2025-04-10T02:29:23.414Z","repository":{"id":37541832,"uuid":"356090906","full_name":"github/typing-effect-element","owner":"github","description":"A custom element that shows text as if it were being typed","archived":false,"fork":false,"pushed_at":"2024-03-14T21:11:11.000Z","size":124,"stargazers_count":118,"open_issues_count":2,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-03T01:12:02.749Z","etag":null,"topics":["custom-elements","keep","web-components"],"latest_commit_sha":null,"homepage":"https://github.github.com/typing-effect-element/examples/","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/github.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":"2021-04-09T00:57:48.000Z","updated_at":"2025-02-15T11:30:47.000Z","dependencies_parsed_at":"2024-06-21T15:33:45.146Z","dependency_job_id":"5d5b2d7c-5c52-42fc-a7fb-6f8aa87d2934","html_url":"https://github.com/github/typing-effect-element","commit_stats":{"total_commits":29,"total_committers":6,"mean_commits":4.833333333333333,"dds":0.6551724137931034,"last_synced_commit":"5be77359d477953fd12432cbcf409e68c094e3d8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"github/custom-element-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ftyping-effect-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ftyping-effect-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ftyping-effect-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Ftyping-effect-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/typing-effect-element/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144057,"owners_count":21054865,"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":["custom-elements","keep","web-components"],"created_at":"2024-08-22T06:01:19.574Z","updated_at":"2025-04-10T02:29:23.379Z","avatar_url":"https://github.com/github.png","language":"JavaScript","readme":"# \u0026lt;typing-effect\u0026gt; element\n\nA custom element that shows text as if it were being typed\n\n## Installation\n\n```\n$ npm install @github/typing-effect-element\n```\n\n## Usage\n\n```js\nimport '@github/typing-effect-element'\n```\n\n```html\n\u003ctyping-effect data-lines='[\"Welcome to GitHub!\", \"Let’s begin the adventure\"]'\u003e\n  \u003cspan data-target=\"typing-effect.content\"\u003e\u003c/span\u003e\n  \u003cspan data-target=\"typing-effect.cursor\"\u003e|\u003c/span\u003e\n\u003c/typing-effect\u003e\n```\n\n## Accessibility\n\nThis component detects whether `prefers-reduced-motion` is set on the window:\n\n```js\nwindow.matchMedia('(prefers-reduced-motion)').matches === true\n```\n\nIf this evaluates to true, any content lines provided will be appended immediately rather than being typed out with a delay.\n\n## Browser support\n\nBrowsers without native [custom element support][support] require a [polyfill][].\n\n- Chrome\n- Firefox\n- Safari\n- Microsoft Edge\n\n[support]: https://caniuse.com/#feat=custom-elementsv1\n[polyfill]: https://github.com/webcomponents/custom-elements\n\n## Development\n\n```\nnpm install\nnpm test\n```\n\n## License\n\nDistributed under the MIT license. See LICENSE for details.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Ftyping-effect-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Ftyping-effect-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Ftyping-effect-element/lists"}