Node's Package Magician

    whatever-format

    1.0.1 • Public • Published

    whatever-format

    Liberally accept yaml, ini, and json file formats.

    API

    decode(string)

    Decode the yaml/ini/json string into a nested object.

    readFile(path, fn)

    Read file at path and call fn with decoded data.

    readFileSync(path)

    Read file at path synchronously and return decoded data.

    License

    MIT

    Keywords

    none

    Install

    npm i whatever-format

    DownloadsWeekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • mvanasse