UNPKG

node-emojis

Version:

Modern, tree-shakeable emoji library for Node.js with TypeScript, search, skin tones, and aliases 🎉

29 lines • 856 B
/** * node-emojis - Complete emoji library for Node.js * * This module provides both modern tree-shakeable exports and backward compatibility * with the v0.x API for smooth migration. * * Modern usage (tree-shakeable): * ``` * import { search } from 'node-emojis' * import { applySkinTone } from 'node-emojis' * ``` * * Legacy usage (backward compatible): * ``` * const emojis = require('node-emojis') * console.log(emojis.fire) // 🔥 * ``` */ export * from './features/search'; export * from './features/skin-tones'; export * from './features/aliases'; export * from './features/filters'; export * from './utils/reverse-mapping'; export * from './utils/validators'; export * from './core/emoji'; import { EmojisMain } from './backward-compat'; declare const emojis: EmojisMain; export default emojis; //# sourceMappingURL=index.d.ts.map