Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robot-inventor/url2emoji
Convert URL of Twemoji image on twitter.com to emoji text.
https://github.com/robot-inventor/url2emoji
converter twemoji twitter url
Last synced: 2 months ago
JSON representation
Convert URL of Twemoji image on twitter.com to emoji text.
- Host: GitHub
- URL: https://github.com/robot-inventor/url2emoji
- Owner: Robot-Inventor
- License: mit
- Created: 2022-01-05T15:15:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T21:21:46.000Z (3 months ago)
- Last Synced: 2024-10-20T08:15:01.304Z (2 months ago)
- Topics: converter, twemoji, twitter, url
- Language: TypeScript
- Homepage:
- Size: 230 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# url2emoji
Convert URL of Twemoji image on twitter.com to emoji text.
## Installation
```powershell
npm install url2emoji
```## Usage
```typescript
import { url2emoji } from "url2emoji";const emoji_svg = url2emoji("https://abs-0.twimg.com/emoji/v2/svg/1f600.svg");
const emoji_png = url2emoji("https://abs-0.twimg.com/emoji/v2/72x72/1f600.png");
console.log(emoji_svg); // 😀
console.log(emoji_png); // 😀
```