Documentation
    Preparing search index...

    Interface WriteJsonOptions

    interface WriteJsonOptions {
        autoPrettier?: boolean;
        cwd?: string;
        dry?: boolean;
        logger?: Logger<unknown>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    autoPrettier?: boolean

    Formats the json file using prettier and your configuration.

    Disable if you don't have prettier

    true
    
    cwd?: string

    Current working directory

    process.cwd()
    
    dry?: boolean

    Actual operations are turned off when dry is set to true.

    For example Post requests won't be made, filesystem operations won't write, but still send get requests and read from filesystem.

    false
    
    logger?: Logger<unknown>

    An optional Logger target.

    undefined