Newline Proliferating Maniac
    Wondering what’s next for npm?Check out our public roadmap! »

    parsify-plugin-covid19
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.0 • Public • Published

    Parsify Plugin COVID 19

    Build Status Coverage Status XO code style

    About

    This plugin adds COVID 19-related variables to Parsify:

    confirmed       //=> returns number of confirmed cases (global)
    recoveries      //=> returns number of recoveries (global)
    deaths          //=> returns number of deaths (global)
    

    Install

    $ npm install @parsify/core @parsify/math parsify-plugin-covid19
    

    Usage

    import Parsify from '@parsify/core';
    import parsifyMathPlugin, {mathParser} from '@parsify/math';
    import parsifyCovid19Plugin from 'parsify-plugin-covid19';
     
    const parsify = new Parsify([
        parsifyCovid19Plugin(mathParser),
        parsifyMathPlugin()
    ]);

    Note: the plugin order is important!

    API

    parsifyCovid19Plugin(parser)

    parser

    Type: Parser

    @parsify/math exported parser.

    License

    MIT

    Install

    npm i parsify-plugin-covid19

    DownloadsWeekly Downloads

    5

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    6.45 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar