Natively Pronounced Mandarin

    This package has been deprecated

    Author message:

    WARNING: The pandemic suite has been renamed pandemics. This project has therefore been renamed to pandemics-mustache.

    pandemic-mustache

    0.3.0 • Public • Published

    pandemic-mustache

    Wrapper to apply mustache templating to your manuscript in pandemic.

    Usage

    cat my_document > pandemic-mustache [view1.json] [view2.json] [...]

    Where the arguments are .json or .yaml files that contain the 'views' (ie. the name/values association to replace in the template).

    If no arguments are given, pandemic-mustache will look in the front matter of the document provided on stdin:

    ---
    mustache: results.json
    ---

    or

    ---
    mustache:
    - results/res1.json
    - results/res2.yaml
    ---

    In the case of multiple files, each file is used in turn to fill in the mustache place holders in your document. Therefore, if a value if defined in multiple files, only the first occurrence will be used in the template and no error will be thrown.

    Install

    npm i pandemic-mustache

    DownloadsWeekly Downloads

    1

    Version

    0.3.0

    License

    BSD-3-Clause

    Unpacked Size

    4.34 kB

    Total Files

    4

    Last publish

    Collaborators

    • lionel-rigoux