1.0.1 • Published 8 years ago

mapp-search v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

mapp-search šŸ”Ž šŸ–„

Usage

With await

const search = require('mapp-search')

const id = await search('xcode')
console.log(id) # 497799835

With then

const search = require('mapp-search')

search('xcode')
.then(console.log) // 497799835

Custom results

search('xcode', {number: 2}) // [ 497799835, 1083165894 ]
search('xcode', {all: true}) // [ 497799835, 1083165894, ... ]

Author

Ā© 2017 Pablo Varela