Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 9 days ago
JSON representation

๐Ÿ’ฌ Emojifies strings, converting textual representations of emojis to graphical ones. ๐Ÿ–Œ๏ธ

Awesome Lists containing this project

README

        

Emojilyzer



Emojilyzer logo



๐Ÿ’ฌ 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! ๐Ÿ™๐Ÿ˜Š





Donate to igorskyflyer




@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?! XD

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! <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/)).