Skip to main content

runner()

API > @betterer/betterer > runner

Create a BettererRunner with the given options.

Signature

export declare function runner(options?: BettererOptionsRunner): Promise<BettererRunner>;

Parameters

ParameterTypeDescription
optionsBettererOptionsRunnerOptions for creating the runner.

Returns

Promise<BettererRunner>

Exceptions

BettererError Will throw if something goes wrong while creating the runner.

Example

import { betterer } from '@betterer/betterer';

const runner = await betterer.runner(options);