1.0.0 • Published 1 year ago
emoji-deets v1.0.0
Welcome to Emoji Deets! 🪡
This package is used to get details of an emoji.
Installation
To install this package, run the following command:
npm install emoji-deets
Usage
To use this package in your code, you can import it like this:
import emojiCheck from 'emoji-deets'
You can then use the package's functions like this:
emojiCheck('🚀')
/* returns
{
emoji: '🚀',
unicodeEndpoint: '0x1f680',
occurences: 40,
position:
negative:
neutral:
sentimentScore: 0.488
unicodeName: 'ROCKET',
unicodeBlock: 'Transport and Map Symbols'
}
/*
Example usage
Here are some examples of how you can use this package:
import emojiCheck from 'emoji-deets'
console.log(emojiCheck('🚀').sentimentScore) // returns sentiment of passed emoji
console.log(emojiCheck('🚀')) // returns an object with all the details
Contributing
If you want to contribute to this package, please follow these steps:
- Fork the repository.
- Create a new branch for your contribution.
- Make your changes and commit them.
- Push your changes to your branch.
- Create a pull request from your branch to the main repository.
We welcome all contributions, including bug reports, bug fixes, and new features.
References
License
This package is licensed under the MIT license.
1.0.0
1 year ago