1.0.3 • Published 6 years ago

emoticons-converter v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Emoticons Converter

:performing_arts: A library for convert emoticons to string and otherwise

Install

npm install emoticons-converter --save

Usage

Convert emoticon to string

import { emoticonToString } from 'emoticons-converter'

let name = emoticonToString('Kevin Hermawan 😎')
console.log(name) // Kevin Hermawan [SMILING FACE WITH SUNGLASSES]

Convert string to emoticon

import { stringToEmoticon } from 'emoticons-converter'

let name = stringToEmoticon('Kevin Hermawan [SMILING FACE WITH SUNGLASSES]')
console.log(name) // Kevin Hermawan 😎