@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias KeyMode

    KeyMode: "major" | "minor"

    Which of the two modes a key signature is read in.

    A signature names two keys — three sharps is both A major and F# minor — so every entry point that turns a signature into a key, or that names the mode of a key relation, selects between them with this.

    import type { KeyMode } from '@libraz/libcantus';
    const mode: KeyMode = 'minor';