This is a simple JavaScript package that converts text emoticons to emojis.
You can install this package via npm:
npm install emoji-converter
To use this package in your Node.js application, import it as follows:
const { convertToEmoji } = require('emoji-converter');
const text = "Hello :) How are you?";
const convertedText = convertToEmoji(text);
console.log(convertedText); // Output: "Hello 😊 How are you?"
If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature
) - Make your changes
- Commit your changes (
git commit -am 'Add feature'
) - Push to the branch (
git push origin feature
) - Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.