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)
$ npm install @parsify/core @parsify/math parsify-plugin-covid19
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!
Type: Parser
@parsify/math
exported parser.
MIT