array-emojify
v1.0.3
Published
Emojify array values
Downloads
3
Readme
ArrayEmojify
Emojify array values
Install
npm i array-emojify
Usage
const { ArrayEmojify } = require('array-emojify');
const arrayEmojify = new ArrayEmojify();
const firstEmojify = arrayEmojify.emojify(['100', 'coffee', 'heart', ':+1:'], (value) => { /* TODO: value */ });
const secondEmojify = arrayEmojify.emojify(['100', 'coffee', 'heart', ':+1:']);
API
emojify(data, [cb])
data
Type: Array
| String
Data Array for emojify.
cb
Type: Callback
Return emojify array in callback.
License
MIT © Joydip Roy (rjoydip)