Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
emoji-toolkit
Advanced tools
JoyPixels is a complete set of emoji designed for the web. The emoji-toolkit includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to JoyPixels emoji images. PNG formats provided for the emoji images.
The emoji-toolkit npm package is a comprehensive library for working with emojis. It provides various functionalities such as converting emoji shortcodes to images, handling different emoji styles, and supporting multiple platforms. This toolkit is useful for developers who want to integrate emojis into their applications seamlessly.
Convert Emoji Shortcodes to Images
This feature allows you to convert emoji shortcodes (e.g., :pizza:) into their corresponding emoji images. This is useful for rendering emojis in environments that do not support native emoji rendering.
const emojiToolkit = require('emoji-toolkit');
const textWithEmojis = emojiToolkit.toImage('I love :pizza: and :coffee:!');
console.log(textWithEmojis);
Set Emoji Styles
This feature allows you to customize the style of the emojis, such as using sprite sheets and setting the size of the emojis. This is useful for maintaining a consistent look and feel across different platforms.
const emojiToolkit = require('emoji-toolkit');
emojiToolkit.sprites = true;
emojiToolkit.spriteSize = 32;
const styledEmoji = emojiToolkit.toImage('I love :pizza: and :coffee:!');
console.log(styledEmoji);
Support for Multiple Platforms
This feature allows you to switch between different emoji styles provided by various platforms like Apple, Google, Twitter, etc. This is useful for ensuring that emojis look consistent with the platform's native style.
const emojiToolkit = require('emoji-toolkit');
emojiToolkit.img_set = 'apple';
const appleStyledEmoji = emojiToolkit.toImage('I love :pizza: and :coffee:!');
console.log(appleStyledEmoji);
emojiToolkit.img_set = 'google';
const googleStyledEmoji = emojiToolkit.toImage('I love :pizza: and :coffee:!');
console.log(googleStyledEmoji);
emoji-mart is a comprehensive emoji picker component for React. It provides a customizable emoji picker that can be easily integrated into React applications. Unlike emoji-toolkit, which focuses on converting and styling emojis, emoji-mart is more about providing a user-friendly interface for selecting emojis.
emojione is a library that provides a complete set of emoji images and tools for working with emojis. It offers similar functionalities to emoji-toolkit, such as converting shortcodes to images and supporting multiple styles. However, emojione also includes a rich set of emoji images that can be used directly in applications.
twemoji is an open-source project by Twitter that provides a set of emoji images and a JavaScript library for parsing and rendering emojis. It is similar to emoji-toolkit in that it allows for converting shortcodes to images and supports different styles. However, twemoji is specifically designed to match Twitter's emoji style.
A set of libraries to help users find and replace native system emojis with JoyPixels (formerly EmojiOne) in their app or website.
This project includes libraries used to convert emoji into various formats, including conversion to JoyPixels emoji images.
All libraries included here are available free under the MIT license.
JoyPixels Version 4 is available under the same licensing structure as Version 3. Please see below for more details.
JoyPixels launched version 3.0 in 2017, which has several licensing options available. PNG 32px, 64px, and 128px as well as 32px and 64px sprites are available for digital use, with attribution. See https://www.joypixels.com/licenses/free for more information on usage and attribution requirements.
Premium Licenses are available for larger PNG assets and SVG assets, for digital and print use (within budget constraints). See https://www.joypixels.com/licenses/premium for more information or to obtain a Premium License.
For product/retail licensing, see our Enterprise License https://www.joypixels.com/licenses/enterprise.
JoyPixels version 2 is no longer supported or distributed. Please see UPGRADE.md for instructions on upgrading from version 2 to version 3. Version 2 was bound by the Creative Commons Attribution 4.0 International License.
To install the JoyPixels/emoji-toolkit, please refer to the guide at INSTALLATION.md. Version 3 introduces many potentially-breaking changes. Refer to the UPGRADE.md documentation for more details.
Please see CONTRIBUTING.md for more info on contributing to the JoyPixels/emoji-toolkit project. For artwork comments and questions please see the emojione-assets repo.
You'll find basic usage examples here in the /examples/ directory, and links to usage demos in USAGE.md.
If you discover any bugs, feel free to create an issue on GitHub. We also welcome the open-source community to contribute to the project by forking it and issuing pull requests.
If you have any questions, comments, or concerns you are welcome to contact us.
We sincerely hope that you choose to use JoyPixels and support our project, but if you feel like it's not for you, please have a look at these possible alternatives:
FAQs
JoyPixels is a complete set of emoji designed for the web. The emoji-toolkit includes libraries to easily convert unicode characters to shortnames (:smile:) and shortnames to JoyPixels emoji images. PNG formats provided for the emoji images.
The npm package emoji-toolkit receives a total of 130,829 weekly downloads. As such, emoji-toolkit popularity was classified as popular.
We found that emoji-toolkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.