Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 685 Bytes

API.md

File metadata and controls

9 lines (5 loc) · 685 Bytes

Options

Options can be passed directly to the macrome constructor, and can also be specified in a macrome.config.js file. A config file will be searched for in cwd and every parent directory of cwd. Options passed directly to the constructor supersede options found in a config.

quiet: Log less.

logger: A logger object with log, warn and error methods. Defaults to console. If a logger is specified, the quiet option is not meaningful.

configPath: The path to a macrome config file to use, or false if macrome should not search for a config, instead using only the passed options. configPath is not a valid option to specify in a config file.