1.0.4 • Published 9 years ago

emoji-synonyms v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

emoji-synonyms

Synonyms for emoji, to make them easier to find.

This data is derived programmatically using a thesaurus, so it has a very loose interpretation on what constitutes a synonym. As such, you can expect to see weird suggestions for some emoji. The hope, however, is that erring on the side of more data will lead to a greater likelihood of serendipitously finding the right emoji when searching by keyword.

For a smaller, human-curated (and therefore more accurate) set of keywords, check out the emojilib package.

Installation

npm install emoji-synonyms --save

Usage

const keywords = require('emoji-synonyms')

Object.keys(keywords).length
// => 1294

keywords.bus
/*
[ 'vehicle',
  'motorcar',
  'automobile',
  'machine',
  'auto',
  'truck',
  'bus',
  'gondola',
  'motor',
  'coach',
  'jalopy',
  'buggy',
  'wagon',
  'coupe',
  'limousine',
  'sedan',
  'van',
  'carriage',
  'railcar',
  'railway car',
  'medium',
  'agency',
  'car',
  'means',
  'instrument',
  'conveyance',
  'agent',
  'carrier',
  'instrumentality',
  'transport',
  'mechanism',
  'channel',
  'tool',
  'intermediary',
  'shipping',
  'transit',
  'shipment',
  'moving',
  'freight',
  'transfer',
  'deportation',
  'exile',
  'transmission',
  'haulage',
  'carrying',
  'cartage',
  'expatriation',
  'transferral',
  'freightage',
  'movement',
  'portage',
  'journey',
  'voyage',
  'move',
  'trip',
  'tour',
  'trek',
  'go',
  'walk',
  'ramble',
  'wander',
  'rove',
  'roam',
  'travelling',
  'proceed',
  'cruise',
  'progress',
  'jaunt',
  'traverse',
  'drive',
  'expedition' ]
*/

Tests

npm install
npm test

Dependencies

None

Dev Dependencies

  • async: Higher-order functions and common patterns for asynchronous code
  • limiter: A generic rate limiter for node.js. Useful for API clients, web crawling, or other tasks that need to be throttled
  • lodash.uniq: The lodash method _.uniq exported as a module.
  • path-exists: Check if a path exists
  • powerthesaurus-api: Look up English synonyms using powerthesaurus.org
  • require-dir: Helper to require() directories.
  • tap-spec: Formatted TAP output like Mocha's spec reporter
  • tape: tap-producing test harness for node and browsers

License

MIT

Generated by package-json-to-readme