@@ -180,4 +180,88 @@ exports.countryNameMap = {
180180 'Dominican Republic' : 'DO' ,
181181 'Burkina Faso' : 'BF' ,
182182 Uzbekistan : 'UZ' ,
183- } ;
183+ } ;
184+
185+ exports . helpContent = `
186+
187+ /$$ /$$ /$$$$$$$$ /$$ /$$$$$$$
188+ | $$ | $$| $$_____/| $$ | $$____$$
189+ | $$ | $$| $$ | $$ | $$ $$
190+ | $$$$$$$$| $$$$$ | $$ | $$$$$$$/
191+ | $$__ $$| $$__/ | $$ | $$____/
192+ | $$ | $$| $$ | $$ | $$
193+ | $$ | $$| $$$$$$$$| $$$$$$$$| $$
194+ |__/ |__/|________/|________/|__/
195+
196+ ---------------------------------------------------------------------------------
197+
198+ # Source 1 stats - updated once a day from John Hopkins University
199+ https://corona-stats.online
200+
201+ ---------------------------------------------------------------------------------
202+
203+ # Source 2 stats - updated every 15 minutes from worldometers.info
204+ https://corona-stats.online?source=2
205+
206+ ---------------------------------------------------------------------------------
207+
208+ # Country wise stats
209+
210+ ## Format:
211+ https://corona-stats.online/<countryCode>
212+ https://corona-stats.online/<countryName>
213+
214+ ## Example: From source 1
215+ https://corona-stats.online/Italy
216+ https://corona-stats.online/UK
217+
218+ ## Example: From source 2
219+ https://corona-stats.online/italy?source=2
220+ https://corona-stats.online/UK?source=2
221+
222+ ---------------------------------------------------------------------------------
223+
224+ # Minimal Mode - remove the borders and padding from table
225+
226+ ## Example:
227+ https://corona-stats.online?minimal=true
228+ https://corona-stats.online/Italy?minimal=true (with country filter)
229+ https://corona-stats.online?minimal=true&source=2 (with source)
230+ https://corona-stats.online/uk?source=2&minimal=true (with source and country)
231+
232+ ---------------------------------------------------------------------------------
233+
234+ # Get data as JSON - Add ?json=true
235+
236+ ## Example:
237+ https://corona-stats.online?json=true
238+ https://corona-stats.online/Italy?json=true (with country filter)
239+ https://corona-stats.online/?source=2&json=true (with source)
240+ https://corona-stats.online/uk?source=2&json=true (with source and country)
241+
242+ ---------------------------------------------------------------------------------
243+
244+ # Get top N countries - Add ?top=N
245+
246+ ## Example:
247+ https://corona-stats.online?top=25
248+ https://corona-stats.online?source=2&top=10 (with source)
249+ https://corona-stats.online/uk?minimal=true&top=20 (with minimal)
250+
251+
252+ ---------------------------------------------------------------------------------
253+
254+ # Confirmed Cases Graph (WIP)
255+
256+ ## Format:
257+ https://corona-stats.online/<countryName>/graph
258+ https://corona-stats.online/<countryCode>/graph
259+
260+ ## Example:
261+ https://corona-stats.online/italy/graph
262+ https://corona-stats.online/china/graph
263+
264+
265+ ------------- Any issues or feedback - Hit me up on twitter @ekrysis --------------
266+
267+ ` ;
0 commit comments