{"id":16720166,"url":"https://github.com/hsynlms/autotyperjs","last_synced_at":"2025-04-10T09:53:07.945Z","repository":{"id":51305991,"uuid":"130420850","full_name":"hsynlms/autotyperjs","owner":"hsynlms","description":"A vanilla javascript plugin for animated typewriting","archived":false,"fork":false,"pushed_at":"2021-06-08T17:15:18.000Z","size":364,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T21:09:19.780Z","etag":null,"topics":["animation","autotyper","javascript","text-animation","text-effects","typewriter"],"latest_commit_sha":null,"homepage":"https://codepen.io/hsynlms/pen/gzapPz","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/hsynlms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-20T22:56:59.000Z","updated_at":"2025-03-25T07:40:43.000Z","dependencies_parsed_at":"2022-09-26T21:31:00.595Z","dependency_job_id":null,"html_url":"https://github.com/hsynlms/autotyperjs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsynlms%2Fautotyperjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsynlms%2Fautotyperjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsynlms%2Fautotyperjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsynlms%2Fautotyperjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hsynlms","download_url":"https://codeload.github.com/hsynlms/autotyperjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198239,"owners_count":21063626,"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":["animation","autotyper","javascript","text-animation","text-effects","typewriter"],"created_at":"2024-10-12T22:06:04.265Z","updated_at":"2025-04-10T09:53:07.919Z","avatar_url":"https://github.com/hsynlms.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoTyper JS\n\u003e A vanilla javascript plugin for animated typewriting.\n\n[![Downloads](https://img.shields.io/npm/dm/autotyperjs.svg)](https://npmjs.com/autotyperjs)\n[![install size](https://packagephobia.com/badge?p=autotyperjs)](https://packagephobia.com/result?p=autotyperjs)\n\nautotyperjs can be accessable in global variable as `autoTyper`. It exposes outside two functions, `start` and `stop`. Multiple instances can be created by using `new` keyword. Its compatible with Chrome, Firefox, Safari, Internet Explorer and Edge.\n\n- **start()** : starts AutoTyper on target element.\n```javascript\n  var options = {\n    selector: '.content \u003e h1',\n    words: ['hello', 'world']\n  }\n\n  // start autoTyper\n  var typer = new autoTyper(options)\n  typer.start()\n```\n\n- **stop()** : stops AutoTyper.\n```javascript\n  // stop autoTyper\n  typer.stop()\n```\n\nDemo on Codepen : https://codepen.io/hsynlms/pen/gzapPz\n\n## Available options\nBelow options can be given to customize AutoTyper before start.\n\n```javascript\n  // available custom options\n  var options = {\n    selector: '.typerTarget', // target element selector\n    words: [], // words/sentences that will be auto typed\n    charSpeed: 85, // letter typing animation speed\n    delay: 2100, // word/sentence typing animation delay\n    loop: true, // if loop is activated, autoTyper will start over\n    flipflop: true // if flipflop is activated, letters which are typed animated will be removed ony by one animated\n  }\n```\n\n## How about blinking caret?\nFor better typewriting experience, blinking caret is a must. It's optional to use with autoTyper together. You only have to do is giving below styles for autoTyper target element by yourself.\n\nThe HTML side will be like:\n```html\n\u003cdiv class=\"typerTarget\"\u003e\u003c/div\u003e\n```\n\nThe CSS side will be like:\n```css\n@-webkit-keyframes blink-caret {\n  50% {\n    border-color: transparent;\n  }\n}\n\n.typerTarget {\n  border-right: 1px solid #404145;\n  -webkit-animation: blink-caret 0.5s step-end infinite alternate;\n          animation: blink-caret 0.5s step-end infinite alternate;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsynlms%2Fautotyperjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhsynlms%2Fautotyperjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsynlms%2Fautotyperjs/lists"}