Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on Apr 25, 2024 via pnpm

node-emoji 1.11.0

simple emoji support for node.js projects
Package summary
Share
0
issues
1
license
2
MIT
Package created
13 Aug 2014
Version published
11 Aug 2021
Maintainers
2
Total deps
2
Direct deps
1
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
lodash@4.17.21
node-emoji@1.11.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of node-emoji 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
lodash4.17.21311.49 kBMIT
prod

Visualizations

Frequently Asked Questions

What does node-emoji do?

Node-emoji is a useful tool in the Node.js ecosystem for providing friendly emoji lookups and parsing utilities. It deploys the power of the combination of emojilib, which supplies a list of emojis and keyword search functionality, and skin-tone, which can parse base emojis from different skin tones. With node-emoji, you can add vibrant emojis to your applications and projects and appeal more to your users.

How do you use node-emoji?

To use node-emoji in your project, you should first install it via npm using the command npm install --save node-emoji. Then you can import the node-emoji module to your code using Javascript's import statement and utilize its various functions such as emojify, find, get, has, random, replace, search, strip, unemojify, and which. Here are a few examples:

import * as emoji from 'node-emoji'

console.log(emoji.emojify('The :unicorn: is a fictitious animal.')) // 'The πŸ¦„ is a fictitious animal.'

console.log(emoji.find('πŸ¦„')) // { name: 'unicorn', emoji: 'πŸ¦„' }

console.log(emoji.get('unicorn')) // 'πŸ¦„'

console.log(emoji.has('πŸ¦„')) // true

console.log(emoji.random()) // { name: 'unicorn', emoji: 'πŸ¦„' }

console.log(emoji.replace('The πŸ¦„ is a fictitious animal.', 'unicorn')) // 'The unicorn is a fictitious animal.'

console.log(emoji.search('honey')) // [ { name: 'honeybee', emoji: '🐝' }, { name: 'honey_pot', emoji: '🍯' } ]

console.log(emoji.unemojify('The πŸ¦„ is a fictitious animal.')) // 'The :unicorn: is a fictitious animal.'

console.log(emoji.which('πŸ¦„')) // 'unicorn'

Where are the node-emoji docs?

You can find the documentation of node-emoji on its GitHub page at https://github.com/omnidan/node-emoji. The README file on this page provides a detailed guide on how to use node-emoji, including the API, various examples of using functions, parameters, and the options available within these functions. It's a fantastic resource for getting started and mastering how to use this package successfully.