moonfig-cbor

    CBOR adapter for MuVirus/moonfig.

    config
    cbor
    moonfig
    Download zip
    Author
    Version
    0.2.0
    License
    Apache-2.0
    Last updated
    17 hours ago
    Downloads
    10

    #moonfig-cbor

    CBOR adapter for moonfig. It turns a CBOR document into moonfig's Value, so merging, extraction and validation work exactly like they do for every other format.

    This lives in its own module so that moon add MuVirus/moonfig does not drag in the CBOR parser. Add it only when you actually read CBOR.

    #Install

    moon add MuVirus/moonfig-cbor

    import {
    "MuVirus/moonfig/core" @config,
    "MuVirus/moonfig-cbor/cbor_format" @cborfmt,
    }