Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igorskyflyer/npm-emojilyzer
๐ฌ Emojifies strings, converting textual representations of emojis to graphical ones. ๐๏ธ
https://github.com/igorskyflyer/npm-emojilyzer
back-end convert emoji face igorskyflyer javascript js node smile smiley string text ts typescript
Last synced: about 2 months ago
JSON representation
๐ฌ Emojifies strings, converting textual representations of emojis to graphical ones. ๐๏ธ
- Host: GitHub
- URL: https://github.com/igorskyflyer/npm-emojilyzer
- Owner: igorskyflyer
- License: mit
- Created: 2024-07-27T15:44:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T15:50:44.000Z (5 months ago)
- Last Synced: 2024-09-28T21:15:57.884Z (3 months ago)
- Topics: back-end, convert, emoji, face, igorskyflyer, javascript, js, node, smile, smiley, string, text, ts, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@igor.dvlpr/emojilyzer
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Emojilyzer
๐ฌ Emojifies strings, converting textual representations of emojis to graphical ones. ๐๏ธ
๐ Support further development
I work hard for every project, including this one
and your support means a lot to me!
Consider buying me a coffee. โ
Thank you for supporting my efforts! ๐๐
@igorskyflyer
## ๐ Table of contents
- [Usage](#-usage)
- [API](#-api)
- [emojify()](#emojifytext-string-string)
- [Examples](#-examples)
- [Changelog](#-changelog)
- [License](#-license)
- [Related](#-related)
- [Author](#-author)
## ๐ต๐ผ Usage
Install it by executing:
```shell
npm i "@igor.dvlpr/emojilyzer"
```
## ๐คน๐ผ API
### `emojify(text: string): string`
*Emojifies the given string `text`.*
`text` - The string to emojify (convert textual representations of emojis to graphical ones).
Returns the emojified string or an empty string if no input is passed.
---
## โจ Examples
`example.ts`
```ts
import { emojify } from '@igor.dvlpr/emojilyzer'console.log(
emojify(`Hey there! :) How's it going? :) I just wanted to check in and see if you're free for a coffee later today. I've got some exciting news to share!Yesterday, I went to this amazing concert and the band was just phenomenal!
The crowd was going wild and I even got to meet the lead singer after the show!
Can you believe it?! XDAfter the concert, we grabbed some delicious food and talked about all sorts of things. It was such a great night. :) Anyway, let me know if you're up for coffee! ;)
I hope everything is going well with you. ^_^ I've been super busy lately, but it's all good!
Talk soon! <3
P.S. Did you see the latest movie that came out? It was so awesome! :3 I was on the edge of my seat the whole time.
Catch you later! ;)`)
)// Will log
`Hey there! ๐ How's it going? ๐
I just wanted to check in and see if you're free for a coffee later today. I've got some exciting news to share!Yesterday, I went to this amazing concert and the band was just phenomenal!
The crowd was going wild and I even got to meet the lead singer after the show!
Can you believe it?! ๐After the concert, we grabbed some delicious food and talked about all sorts of things. It was such a great night. ๐ Anyway, let me know if you're up for coffee! ๐
I hope everything is going well with you. ๐ I've been super busy lately, but it's all good!
Talk soon! โค๏ธ
P.S. Did you see the latest movie that came out? It was so awesome! ๐ธ I was on the edge of my seat the whole time.
Catch you later! ๐`
```---
## ๐ Changelog
๐ The changelog is available here: [CHANGELOG.md](https://github.com/igorskyflyer/npm-emojilyzer/blob/main/CHANGELOG.md).
---
## ๐ชช License
Licensed under the MIT license which is available here, [MIT license](https://github.com/igorskyflyer/npm-emojilyzer/blob/main/LICENSE).
---
## ๐งฌ Related
[@igor.dvlpr/regkeys](https://www.npmjs.com/package/@igor.dvlpr/regkeys)
> _๐ An NPM package for fetching Windows registry keys. ๐_
[@igor.dvlpr/normalized-string](https://www.npmjs.com/package/@igor.dvlpr/normalized-string)
> _๐ NormalizedString provides you with a String type with consistent line-endings, guaranteed. ๐ฎ_
[@igor.dvlpr/strip-headings](https://www.npmjs.com/package/@igor.dvlpr/strip-headings)
> _โธ Strips Markdown headings!๐น_
[@igor.dvlpr/my-file-path](https://www.npmjs.com/package/@igor.dvlpr/my-file-path)
> _๐ An npm module that strongly types file paths! ๐ฅ_
[@igor.dvlpr/simple-exec](https://www.npmjs.com/package/@igor.dvlpr/simple-exec)
> _๐บ Command. Execution. Made. Simple. โถ_
---
### ๐จ๐ปโ๐ป Author
Created by **Igor Dimitrijeviฤ** ([*@igorskyflyer*](https://github.com/igorskyflyer/)).