{"id":21319019,"url":"https://github.com/magalhini/react-typewriter-js","last_synced_at":"2025-07-12T04:31:25.427Z","repository":{"id":17777139,"uuid":"20645935","full_name":"magalhini/react-typewriter-js","owner":"magalhini","description":"Simple vanilla JS script to simulate text typewriting effect.","archived":false,"fork":false,"pushed_at":"2017-12-27T15:38:59.000Z","size":17,"stargazers_count":19,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-09T12:09:30.373Z","etag":null,"topics":["react","split","typewriter","typewriting","typing","vanilla","word"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magalhini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-09T12:38:17.000Z","updated_at":"2022-11-29T02:10:56.000Z","dependencies_parsed_at":"2022-09-20T23:42:17.506Z","dependency_job_id":null,"html_url":"https://github.com/magalhini/react-typewriter-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magalhini%2Freact-typewriter-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magalhini%2Freact-typewriter-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magalhini%2Freact-typewriter-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magalhini%2Freact-typewriter-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magalhini","download_url":"https://codeload.github.com/magalhini/react-typewriter-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225791594,"owners_count":17524808,"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":["react","split","typewriter","typewriting","typing","vanilla","word"],"created_at":"2024-11-21T19:31:53.246Z","updated_at":"2024-11-21T19:31:53.692Z","avatar_url":"https://github.com/magalhini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"React Typewriter\n=============\n\n![ex](https://raw.githubusercontent.com/magalhini/typewriter-js/master/example.gif)\n\nA small helper script that simulates a typewriting text effect on a webpage.\n\n## Dependencies\nThere are two versions of this project:\n\n- A plain vanilla JS (no jQuery, no libraries)\n- An ES6 / React Component version\n\n## Options\n- Custom speed\n- Custom random speed\n- Different messages (React only)\n- Custom tag to display the element (React only)\n\n## Sample Usage (vanilla version)\n\n```js\nvar el = document.querySelectorAll('h1')[0];\nvar el2 = document.querySelectorAll('h2')[0];\n\nTypewriter.start(el, 50, {\n  random: true,\n  callback: function () {\n    console.log('i am a callback');\n  }\n});\n\nTypewriter.start(el2, 75);\n```\n\n## Sample Usage (React version)\n\n```js\nimport Typewriter from './Typewriter';\n\n\u003cTypewriter\n    speed={88}\n    tag=\"pre\"\n    text={[\"Hello world.\", \"What do I do now?\"]}\n    randomSpeed={true} /\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagalhini%2Freact-typewriter-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagalhini%2Freact-typewriter-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagalhini%2Freact-typewriter-js/lists"}