Search for emojis 🍕😋😍🐷.
$ npm install --save dango
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: '🍴' } ]
*/
});
Returns a Promise
that resolves an array of items.
Type: String
A query to search for.
MIT © Vu Tran