samo

0.0.0 • Public • Published

samo

Search and analyze Firefox's amo ecosystem.

NPM

So far the only functionality implemented is searching for a literal string across all JavaScript source in the ecosystem.

Getting started

Install a samo binary on your system:

$ npm install -g samo

Command-line

usage:
    samo cache [-l <concurrency>] [-i <index>] [<path>]
    samo find [-c <cachedir>] <string>
    samo help

options:
    -l <concurrency>  Limit maximum number of concurrent downloads (default: 200)
    -i <index>        URL for tab-separated AMO index
                        (default: https://people.mozilla.org/~kmaglione/latest_addons.tsv)
    -c <cachedir>     Path to local filesystem cache (default: ./cache)

API

samo.cache({ limit, cache, index })

Update the local filesystem cache.

samo.find(search, { cache })

Search the local filesystem cache.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i samo

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • dherman