Use as a CLI or programmatically.
npm install --save-dev scourge
The API exposes a function.
scourge(sources, options, done)
||The base url to detect, defaults to
||Relative base path that matches
||Object mapping paths to replace with replacement paths|
||Assume the provided paths are directories to be globbed, defaults to
||Domain reference that may appear in instances of the URL, e.g:
done is invoked when the operation is complete.
scourge [dir] [dir] [dir]
scourge(sources, options) API method, using
minimist for option parsing.
The CLI works great with
reaver, being able to consume its output directly.
reaver public/img/* | scourge views
Alternatively provide a
--map option, pointing to a JSON file.