Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
/ dango Public archive

🍑 Search for emojis πŸ•πŸ˜‹πŸ˜πŸ·

License

Notifications You must be signed in to change notification settings

vutran/dango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🚧 The third-party API getdango.com is not available anymore.

dango

Travis Coveralls branch license

Search for emojis πŸ•πŸ˜‹πŸ˜πŸ·.

Install

$ npm install --save dango

Usage

import dango from 'dango';

dango('pizza').then(items => {
  console.log(items);

  /*
  [ { score: 0.6858612895, text: 'πŸ•' },
  { score: 0.02997607924, text: 'πŸ˜‹' },
  { score: 0.02023460716, text: '😍' },
  { score: 0.010817755945, text: '🐷' },
  { score: 0.0093791456893, text: 'πŸ‘…' },
  { score: 0.0077837170102, text: 'πŸ™Œ' },
  { score: 0.007717252709, text: 'πŸ˜›' },
  { score: 0.0075424523093, text: 'πŸ‘Œ' },
  { score: 0.0074847843498, text: '❀' },
  { score: 0.0063261617906, text: '🍴' } ]
  */
});

API

dango(q)

Returns a Promise that resolves an array of items.

q

Type: String

A query to search for.

License

MIT Β© Vu Tran

About

🍑 Search for emojis πŸ•πŸ˜‹πŸ˜πŸ·

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published