Mutode

Mutode

Mutode's main class

Constructor

new Mutode(opts)

Create a new Mutode instance

Source:
Parameters:
Name Type Description
opts Object
Name Type Attributes Default Description
paths array.<string> <optional>
['index.js', 'src/']

Glob matched paths or files to mutate

concurrency number <optional>
# of cpu cores

Number of concurrent workers

mutators array.<string> <optional>
All

Mutators to load (e.g. deletion)

Methods

(async) run() → {Promise}

Run current instance

Source:
Returns:
Type:
Promise
  • Promise that resolves once this instance's execution is completed.