GitHunt
DH

dherman/samo

Search and analyze Firefox's [amo](http://addons.mozilla.org) ecosystem.

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.

crown

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

Languages

JavaScript100.0%
Created March 2, 2015
Updated March 2, 2024