emoji-convertor

0.2.0 • Public • Published

emoji-convertor

Install

npm install emoji-convertor

Usage

const {
  nativeToUnified,
  nativeToName,
  unifiedToNative,
  nameToNative 
= require('emoji-convertor')
 
console.log(nativeToUnified('🍔'))
 
console.log(nativeToName('🧻'))
console.log(nativeToName('👩‍👩‍👧‍👧'))
console.log(nativeToName('🍔'))
 
console.log(unifiedToNative('1F354'))
console.log(unifiedToNative('1f469-200d-1f469-200d-1f467-200d-1f467'))
 
console.log(nameToNative('sunglasses'))

Build

npm run fetch

Data

https://github.com/iamcal/emoji-data

Package Sidebar

Install

npm i emoji-convertor

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

128 kB

Total Files

8

Last publish

Collaborators

  • leplay