New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uchihamalolan/emojidex

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uchihamalolan/emojidex

An emoji database

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

Emojidex

MIT license

comprehensive list of all emojis along with their properties

NOTE: The lists is related with the Unicode Hex Character Code. The representation of the emoji depend of the system. Will be possible that the system don't have all the representations.

Installation

Use the npm to install emojidex.

npm install @uchihamalolan/emojidex

Usage

const { emojidex } = require('emojidex')
console.log(`Emoji Data: ${emojidex.emojidata['people'][0]}`);
console.log(`Emoji value: ${emojidex.emojilist['people'][0]}`);

// output => 
Emoji Data: { 
  codes: '1F600',
  char: '😀',
  name: 'grinning face',
  category: 'Smileys & Emotion',
  subcategory: 'face-smiling',
  keyTerms: [ 'face', 'grin', 'grinning face' ] 
}
Emoji Value: 😀

Properties

emojidata object consist of all emojis along with their properties.

emojilist object consist of just emojis grouped by their categories.

NOTE: You can flatten emojilist object if you require just an array of emojis.

Sample content of emojidata

emojidata = {
  "people": [
            { codes: '1F600',
              char: '😀',
              name: 'grinning face',
              category: 'Smileys & Emotion',
              subcategory: 'face-smiling',
              keyTerms: [ 'face', 'grin', 'grinning face' ] 
            },
            ...
          ],
  "nature": [...],
  "food": [...],
  "activity": [...], 
  "travel": [...], 
  "object": [...], 
  "symbol": [...], 
}

List of category keywords to be used for parsing

  • people for Smileys & People
  • nature for Animals & Nature
  • food for Food & Drink
  • activity for Activity
  • travel for Travel & Places
  • object for Objects
  • symbol for Symbols
  • flags for Flags

Content of an emoji object

  • codes => list of unicodes of the emoji in a string, separated by spaces.
  • char => emoji as a simple string.
  • name => official name of the emoji.
  • category => category into which the emoji belongs to.
  • subcategory => subcategory into which the emoji belongs to.
  • keyTerms => List of terms that can be used for search functionalities

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Keywords

FAQs

Package last updated on 03 Aug 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc