ObjEmojify
Emojify object keys and values into a new emojify object.
Install
$ npm i obj-emojify
Usage
const ObjEmojify = ;const obj = "coffee": "I :heart: coffee value" "100": "name": "100" "contents": "name": "funny" "contents": 1 2 "santa": ":santa: value";const objEmojify = ;const firstEmojify = objEmojify;const secondEmojify = objEmojify; // output: secondEmojify.value
Configuration
To enable global configuration define the options.The following illustrates all the available options with their respective default values.
API
emojify(data, [cb])
data
Type: Object
Data object for emojify.
cb
Type: Callback
Return emojify object in callback.
License
MIT © Joydip Roy (rjoydip)