{"id":21158234,"url":"https://github.com/simbo/encode-emojis","last_synced_at":"2026-04-28T19:04:22.009Z","repository":{"id":157362461,"uuid":"633410130","full_name":"simbo/encode-emojis","owner":"simbo","description":"A javascript library that encodes emojis (only emojis!) to HTML entities.","archived":false,"fork":false,"pushed_at":"2023-05-03T08:12:36.000Z","size":255,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-30T19:19:51.343Z","etag":null,"topics":["emojis","encode","html-entities","npm-package"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/simbo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-04-27T12:44:04.000Z","updated_at":"2024-06-19T21:38:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"734181f9-7816-4728-b6af-2c482f0770f3","html_url":"https://github.com/simbo/encode-emojis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/simbo/encode-emojis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fencode-emojis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fencode-emojis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fencode-emojis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fencode-emojis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simbo","download_url":"https://codeload.github.com/simbo/encode-emojis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simbo%2Fencode-emojis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32394494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["emojis","encode","html-entities","npm-package"],"created_at":"2024-11-20T12:18:58.301Z","updated_at":"2026-04-28T19:04:21.973Z","avatar_url":"https://github.com/simbo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Encode Emojis\n\n[![npm Package Version](https://img.shields.io/npm/v/encode-emojis?)](https://www.npmjs.com/package/encode-emojis)\n[![License MIT](https://img.shields.io/badge/license-MIT-4cc552)](http://simbo.mit-license.org/)\n[![GitHub Repo](https://img.shields.io/badge/repo-public-87ceeb)](https://github.com/simbo/encode-emojis)\n![Native Typescript Support](https://img.shields.io/npm/types/encode-emojis)\n[![Coveralls Coverage](https://img.shields.io/coveralls/github/simbo/encode-emojis)](https://coveralls.io/github/simbo/encode-emojis)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/simbo/encode-emojis/ci.yml?branch=main)](https://github.com/simbo/encode-emojis/actions/workflows/ci.yml)\n\nA javascript library that encodes emojis (only emojis!) to HTML entities.\n\n---\n\n## Installation\n\nThis library is published to npm registry as\n[`encode-emojis`](https://www.npmjs.com/package/encode-emojis).\n\nYou can install it:\n\n```sh\n# with npm\nnpm install --save encode-emojis\n\n# with yarn\nyarn add encode-emojis\n```\n\nℹ️ **HINT**: This library is a pure ESM package. (You may want to\n[read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).)\n\n## Usage\n\n```ts\nimport { encodeEmojis } from 'encode-emojis';\n\nlet text = '\u003cstrong\u003eHello!\u003c/strong\u003e 👋';\n\ntext = encodeEmojis(text);\n\nconsole.log(text); // -\u003e '\u003cstrong\u003eHello!\u003c/strong\u003e \u0026#x1f44b;'\n```\n\n## Why?\n\nUnfortunately, I am forced to use MS Teams for work, which - although it was\nworking fine since forever - recently decided to fail on webhook event data that\ncontains emojis.\n\nBut as my webhook event data contains not only emojis but also HTML, I needed to\nconvert only emojis. So here we go…\n\n## License\n\n[MIT \u0026copy; Simon Lepel](http://simbo.mit-license.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fencode-emojis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimbo%2Fencode-emojis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimbo%2Fencode-emojis/lists"}