mapp-search

1.0.1 • Public • Published

mapp-search 🔎 🖥

Looking for an ID on the Mac App Store? Use this

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

/mapp-search/

    Package Sidebar

    Install

    npm i mapp-search

    Weekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • pablopunk