{"id":13901378,"url":"https://github.com/GrapesJS/components-typed","last_synced_at":"2025-07-17T22:30:28.248Z","repository":{"id":35519526,"uuid":"218165563","full_name":"GrapesJS/components-typed","owner":"GrapesJS","description":"GrapesJS Typed component made by wrapping Typed.js library","archived":false,"fork":false,"pushed_at":"2023-06-09T12:10:53.000Z","size":151,"stargazers_count":22,"open_issues_count":2,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-21T12:37:39.013Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/GrapesJS.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-10-28T23:40:00.000Z","updated_at":"2025-04-19T22:49:30.000Z","dependencies_parsed_at":"2024-01-16T22:22:08.899Z","dependency_job_id":"cda0efa3-b7f5-41ec-9052-eb56d4c30931","html_url":"https://github.com/GrapesJS/components-typed","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GrapesJS/components-typed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fcomponents-typed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fcomponents-typed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fcomponents-typed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fcomponents-typed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrapesJS","download_url":"https://codeload.github.com/GrapesJS/components-typed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fcomponents-typed/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265672330,"owners_count":23808842,"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":[],"created_at":"2024-08-06T21:01:18.182Z","updated_at":"2025-07-17T22:30:27.936Z","avatar_url":"https://github.com/GrapesJS.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# GrapesJS Typed\n\nGrapesJS Typed component made by wrapping Typed.js library\n\n[DEMO](https://jsfiddle.net/artur_arseniev/xfvo50hj)\n\n![Screenshot](https://user-images.githubusercontent.com/11614725/67621063-3f31c380-f80d-11e9-8d62-7f1da9f27111.png)\n\n\n## Summary\n\n* Plugin name: `grapesjs-typed`\n* Components\n    * `typed` - Main component\n\n  | Prop | Description | Default |\n  |-|-|-\n  | `strings` | Strings to be typed | `[]` |\n  | `type-speed` | Type speed in milliseconds | `0` |\n  | `start-delay` | Time before typing starts in milliseconds | `0` |\n  | `back-speed` | Backspacing speed in milliseconds | `0` |\n  | `smart-backspace` | Only backspace what doesn't match the previous string | `true` |\n  | `back-delay` | Time before backspacing in milliseconds | `700` |\n  | `fade-out` | Fade out instead of backspace | `false` |\n  | `fade-out-class` | CSS class for fade animation | `typed-fade-out` |\n  | `fade-out-delay` | Fade out delay in milliseconds | `500` |\n  | `show-cursor` | Show cursor | `true` |\n  | `cursor-char` | Character for cursor | `\\|` |\n  | `auto-insert-css` | Insert CSS for cursor and fadeOut into HTML `\u003chead\u003e` | `true` |\n  | `bind-input-focus-events` | Bind to focus and blur if el is text input | `false` |\n  | `content-type` | 'html' or 'null' for plaintext | `html` |\n  | `loop` | Loop strings | `false` |\n  | `loop-count` | Amount of loops | `Infinity` |\n  | `shuffle` | Shuffle the strings | `false` |\n* Blocks\n    * `typed` - Main block\n* Traits\n    * `typed-strings` - Textarea input to handle strings (one string per row)\n\n\n\n## Options\n\n| Option | Description | Default |\n|-|-|-\n| `script` | Library to load asynchronously in case `Typed` is not found  | [CDN](https://cdn.jsdelivr.net/npm/typed.js@2.0.11) |\n| `block` | Object to extend the default block \u003cbr/\u003e eg. `{ label: 'Typed', ... }`\u003cbr/\u003ePass a falsy value to avoid adding the block | `{}` |\n| `props` | Customize component's props. The final object should be returned from the function | `props =\u003e props` |\n\n\n\n## Download\n\n* CDN\n  * `https://unpkg.com/grapesjs-typed`\n* NPM\n  * `npm i grapesjs-typed`\n* GIT\n  * `git clone https://github.com/artf/grapesjs-typed.git`\n\n\n\n## Usage\n\nDirectly in the browser\n```html\n\u003clink href=\"https://unpkg.com/grapesjs/dist/css/grapes.min.css\" rel=\"stylesheet\"/\u003e\n\u003cscript src=\"https://unpkg.com/grapesjs\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/grapesjs-typed.min.js\"\u003e\u003c/script\u003e\n\n\u003cdiv id=\"gjs\"\u003e\u003c/div\u003e\n\n\u003cscript type=\"text/javascript\"\u003e\n  const editor = grapesjs.init({\n      container: '#gjs',\n      // ...\n      plugins: ['grapesjs-typed'],\n      pluginsOpts: {\n        'grapesjs-typed': { /* options */ }\n      }\n  });\n\u003c/script\u003e\n```\n\nModern javascript\n```js\nimport grapesjs from 'grapesjs';\nimport plugin from 'grapesjs-typed';\nimport 'grapesjs/dist/css/grapes.min.css';\n\nconst editor = grapesjs.init({\n  container : '#gjs',\n  // ...\n  plugins: [plugin],\n  pluginsOpts: {\n    [plugin]: { /* options */ }\n  }\n  // or\n  plugins: [\n    editor =\u003e plugin(editor, { /* options */ }),\n  ],\n});\n```\n\n\n\n## Development\n\nClone the repository\n\n```sh\n$ git clone https://github.com/artf/grapesjs-typed.git\n$ cd grapesjs-typed\n```\n\nInstall dependencies\n\n```sh\n$ npm i\n```\n\nStart the dev server\n\n```sh\n$ npm start\n```\n\nBuild the source\n\n```sh\n$ npm run build\n```\n\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGrapesJS%2Fcomponents-typed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGrapesJS%2Fcomponents-typed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGrapesJS%2Fcomponents-typed/lists"}