swot

Used to develop ScraperWiki tools

npm install swot
12 downloads in the last month

SWOT

This is a super brilliant tool for helping run and test ScraperWiki tools.

Installing

npm install -g swot

Or, if you are using npm (and node.js) to develop your tool, then add swot as a devDependency and it will appear in your node_modules/.bin directory.

Using it

For each tool you are testing you need to cd into the directory containing the git repo for your tool and then run:

swot setup <boxName> <apikey>

(this saves some stuff in .swotconfig)

Then you can get swot to watch your tool directory for changes and it will sync them with the remote box:

swot watch

Developers

If you are developing swot itself, we recommend that you install it with

npm link

so that the development version will be on your PATH.

npm loves you