Emojibase is a comprehensive JavaScript library providing lightweight, up-to-date, and localized emoji JSON datasets, alongside utility functions and regex patterns for working with emoji characters. It is currently stable at version 17.0.0, which aligns with Emoji v17 and CLDR 48, reflecting its regular cadence of updates with new Unicode and CLDR releases. Key differentiators include its direct construction from official Unicode emoji data sources, adherence to Unicode Technical Standard #51, and localization capabilities derived from UTS #35, ensuring high accuracy and broad language support. The library aims to provide a robust and specification-compliant solution for emoji handling in various applications.
npm install emojibaseVerified import paths — ran on the pinned version, not inferred.
Demonstrates fetching all emoji data, finding a specific emoji, and using the emoji regular expression to match emojis within a string.
Review your emoji processing logic to ensure compatibility with Emoji v17 and CLDR 48. Test any filtering or lookup mechanisms against the new dataset.
Upgrade your Node.js environment to version 18.12.0 or newer. Ensure your CI/CD pipelines and deployment environments are also updated.
Prefer `import` statements for Emojibase modules. If you are in a CommonJS environment, consider configuring your project for hybrid ESM/CJS or using dynamic `import()` for Emojibase.
Ensure your `package.json` includes `"type": "module"` if you are writing an ESM project. If you must use CommonJS, use dynamic `import('emojibase')` or configure a bundler like Webpack/Rollup to handle ESM imports.Update your Node.js installation to version 18.12.0 or newer to meet the minimum engine requirements for Emojibase.
Verify that `getEmojiData` is correctly imported and awaited, and that the returned data is not `null` or `undefined`. Check for any network issues if loading data remotely, or ensure `emojibase-data` is properly installed if using local data files.
No dependency data recorded yet.