npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

confirmados

v1.0.0-alpha.7

Published

🦠 Confirmados do COVID-19

Downloads

6

Readme

[WIP] 🦠 Confirmados do COVID-19

Node.js CI

Confirmados

O Confirmados tem o objetivo de mostrar um site que tem um gráfico com os dados de confirmações do COVID-19 pelo tempo.
A importância desse projeto é para treinamento de uso das palavras e conhecimento resgatados da memória.
Eu tive um derrame cerebral (AVE-He) que comprometeu uma parte do meu cérebro ocasionando uma lesão que afeta a área responsável pela linguagem, ou seja, eu tenho o distúrbio da Afasia de Wernicke. É uma alteração na linguagem oral e escrita, tornando a comunicação sem muita precisão.

Gráfico

Região Norte do Brasil

confirmados

Região Nordeste do Brasil

confirmados

Região Centro-Oeste do Brasil

confirmados

Região Sudeste do Brasil

confirmados

Região Sul do Brasil

confirmados

Confirmados pelo COVID-19 pelo período x confirmados.

Como usar o projeto (MacOS).

Requisitos

  • Brew https://brew.sh/index_pt-br
  • Yarn https://yarnpkg.com/

Configurações

  1. Dados pra testar
/// loadTest.js

const integrate = {"states": [
    {
        "key": "ac",
        "name": "Acre",
        "color": "#00FF00"
    } /* ... */
]}

const start = new Date("2020-06-01T00:00:00.000")
const end = new Date("2020-12-12T23:59:59.999")

const note = new Load(
    integrate,
    "Região Norte",
    [
        "pa",
        "am",
        "ac",
        "ap",
        "ro",
        "rr", 
        "to" 
    ],
    init,
    end
)

const nordeste = new Load(
    integrate,
    "Região Nordeste",
    [
        "ba",
        "al",
        "ce",
        "ma",
        "pb",
        "pe",
        "pi",
        "rn",
        "se"
    ],
    init,
    end
)

const centroOeste = new Load(
    integrate,
    "Região Centro-Oeste",
    [
        "go",
        "ms",
        "mt"
    ],
    init,
    end
)

const sudeste = new Load(
    integrateStates,
    "Região Sudeste",
    [
        "sp",
        "rj",
        "mg",
        "es"
    ],
    init,
    end
)

const sul = new Load(
    integrateStates,
    "Região Sul",
    [
        "sc",
        "rs",
        "pr"
    ],
    init,
    new Date("2020-12-12T23:59:59.999")
)
  1. Instalar o projeto
# make install
  1. Atulizando os dados pelos dados da JHU CSSE.
# make bd_update
  1. Integragrando com os dados para o Site.
# make itgt_start
  1. Iniciando o site
# make site_start
  1. Atualizar o site
# make update

Referências

covid-19

Novel Coronavirus (COVID-19) Cases, provided by JHU CSSE: https://systems.jhu.edu/research/public-health/ncov/

Brazil Ministry of Health: https://covid.saude.gov.br/

National Health Commission Update: http://weekly.chinacdc.cn/news/TrackingtheEpidemic.htm

NYC Department of Health and Mental Hygiene: https://github.com/nytimes/covid-19-data

Awesome Coronavirus: https://corona.js.org/

JSON time-series of coronavirus cases (confirmed, deaths and recovered) per country - updated daily: https://github.com/pomber/covid19 Acesso em 28/11/2020

UX

Scheme Color: https://www.schemecolor.com/

Markdown

Mastering Markdown: https://guides.github.com/features/mastering-markdown/

Testes

TDD: https://pt.wikipedia.org/wiki/Test-driven_development

Jest is a delightful JavaScript Testing Framework with a focus on simplicity. https://jestjs.io

Javascript

Promise: https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Promise

Como escrever um código assíncrono em Node.js: https://www.digitalocean.com/community/tutorials/how-to-write-asynchronous-code-in-node-js-pt

Bootstrap: https://getbootstrap.com/

Yarn pkg: https://classic.yarnpkg.com/en/docs/

Webpack: https://webpack.js.org/

Create React App: https://github.com/facebook/create-react-app

React wrapper for Chart.js: https://github.com/jerairrest/react-chartjs-2

Chart.js: https://www.chartjs.org/

ISO 8601 Date and Time format: https://www.iso.org/iso-8601-date-and-time-format.html

jsontools: https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/jsontools

Funções assíncronas: https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Statements/funcoes_assincronas

Ciência da computação

Algoritmo de ordenação: https://pt.wikipedia.org/wiki/Algoritmo_de_ordena%C3%A7%C3%A3o

Bash

Oh My Zsh is an open source, community-driven framework for managing your zsh configuration.: https://github.com/ohmyzsh/ohmyzsh

Introdução ao Shell Script no Linux: https://www.devmedia.com.br/introducao-ao-shell-script-no-linux/25778 Acesso em 19/09/2020

How to delete a file in bash: https://linuxhint.com/delete_file_bash/ Acesso em 14/11/2020

Saúde

11 coisas que você não sabe sobre o AVC - https://saude.abril.com.br/medicina/11-coisas-que-voce-nao-sabe-sobre-o-avc/ Acesso em 04/10/2020

História

União de Kalmar - https://pt.wikipedia.org/wiki/União_de_Kalmar Acesso em 05/12/2020