{"id":15313953,"url":"https://github.com/itsdouges/armory-embeds-chat-code","last_synced_at":"2025-03-02T13:24:08.958Z","repository":{"id":71499325,"uuid":"106383945","full_name":"itsdouges/armory-embeds-chat-code","owner":"itsdouges","description":"🛡 Generates armory embed markup from a chat code.","archived":false,"fork":false,"pushed_at":"2017-10-12T00:14:37.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T14:38:32.091Z","etag":null,"topics":[],"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/itsdouges.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-10T07:35:33.000Z","updated_at":"2017-10-10T09:20:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"061ea271-e1b1-4173-8d90-b98f24120948","html_url":"https://github.com/itsdouges/armory-embeds-chat-code","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"d4b5d3875c05bb961a25f009e4adea2b34d6d9a8"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Farmory-embeds-chat-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Farmory-embeds-chat-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Farmory-embeds-chat-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdouges%2Farmory-embeds-chat-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsdouges","download_url":"https://codeload.github.com/itsdouges/armory-embeds-chat-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241511165,"owners_count":19974369,"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-10-01T08:43:48.999Z","updated_at":"2025-03-02T13:24:08.928Z","avatar_url":"https://github.com/itsdouges.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# armory-embeds-chat-code\n[![NPM version](http://img.shields.io/npm/v/armory-embeds-chat-code.svg?style=flat-square)](https://www.npmjs.com/package/armory-embeds-chat-code)\n[![NPM downloads](http://img.shields.io/npm/dm/armory-embeds-chat-code.svg?style=flat-square)](https://www.npmjs.com/package/armory-embeds-chat-code)\n\nGenerates armory embeds markup from a chat code.\n\n## Usage\n\n```sh\nnpm install armory-embeds-chat-code\n```\n\n```javascript\nimport parseChatCode from 'armory-embeds-chat-code';\n\nparseChatCode('[\u0026CvUbAAA=]');\n// \u003cdiv data-armory-embed=\"skins\" data-armory-ids=\"7157\"\u003e\u003c/div\u003e\n```\n\n## Api\n\n### `parseChatCode(chatcode: string, options: ?Options): string`\n\n#### `Options: Object`\n\n| property | type | description |\n|-|-|-|\n| tag | `string` | Custom tag for the embed, defaults to `div`. |\n| attributes | `Object` | Key/value object of extra attributes to add to the markup. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdouges%2Farmory-embeds-chat-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsdouges%2Farmory-embeds-chat-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdouges%2Farmory-embeds-chat-code/lists"}