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

dawai

v2.0.0

Published

A NPM command line interface to fetch number of beds, slots etc. available in any perticular state of India

Downloads

16

Readme

Dawai 💊

🚀 A CLI tool to get all the information about vaccination in India

Use Dawai to get all the informations about the vaccination process in your locality or area, you will get complete information about the age, vaccine name, slots, availability of vaccine and many more!!! just in your command prompt

Action Status npm version

Installation

To install Dawai on your PC, follow the instructions given below_______ and enjoy your day!!

npm install dawai -g

When Dawai is installed completely, then use command the dawai in console.

C:\Users\Satyam Roy\Desktop\shield>dawai

you will get output like this------->

Usage: index [options] [command]

Options:
  -a                   --available (default: "avaialble slots")
  -h, --help           display help for command

Commands:
  states               list down all the states
  districts <stateid>  Get all districts for state using state id
  slots <districtid>   Get all slots for district id
  developer            Gell to know about the developer
  help [command]       display help for command

Few examples

C:\Users\Satyam Roy\Desktop\shield>dawai states

  ┌────────────────────┬────────────────────────────────────────┐
  │      state_id      │               state_name               │
  ├────────────────────┼────────────────────────────────────────┤
  │ 1                  │ Andaman and Nicobar Islands            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 2                  │ Andhra Pradesh                         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 3                  │ Arunachal Pradesh                      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 4                  │ Assam                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 5                  │ Bihar                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 6                  │ Chandigarh                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 7                  │ Chhattisgarh                           │
  ├────────────────────┼────────────────────────────────────────┤
  │ 8                  │ Dadra and Nagar Haveli                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 37                 │ Daman and Diu                          │
  ├────────────────────┼────────────────────────────────────────┤
  │ 9                  │ Delhi                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 10                 │ Goa                                    │
  ├────────────────────┼────────────────────────────────────────┤
  │ 11                 │ Gujarat                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 12                 │ Haryana                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 13                 │ Himachal Pradesh                       │
  ├────────────────────┼────────────────────────────────────────┤
  │ 14                 │ Jammu and Kashmir                      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 15                 │ Jharkhand                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 16                 │ Karnataka                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 17                 │ Kerala                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 18                 │ Ladakh                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 19                 │ Lakshadweep                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 20                 │ Madhya Pradesh                         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 21                 │ Maharashtra                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 22                 │ Manipur                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 23                 │ Meghalaya                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 24                 │ Mizoram                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 25                 │ Nagaland                               │
  ├────────────────────┼────────────────────────────────────────┤
  │ 26                 │ Odisha                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 27                 │ Puducherry                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 28                 │ Punjab                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 29                 │ Rajasthan                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 30                 │ Sikkim                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 31                 │ Tamil Nadu                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 32                 │ Telangana                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 33                 │ Tripura                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 34                 │ Uttar Pradesh                          │
  ├────────────────────┼────────────────────────────────────────┤
  │ 35                 │ Uttarakhand                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 36                 │ West Bengal                            │
  └────────────────────┴────────────────────────────────────────┘
C:\Users\Satyam Roy\Desktop\shield>dawai districts 36

  ┌────────────────────┬────────────────────────────────────────┐
  │    DISTRICT ID     │             DISTRICT NAME              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 710                │ Alipurduar District                    │
  ├────────────────────┼────────────────────────────────────────┤
  │ 711                │ Bankura                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 712                │ Basirhat HD (North 24 Parganas)        │
  ├────────────────────┼────────────────────────────────────────┤
  │ 713                │ Birbhum                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 714                │ Bishnupur HD (Bankura)                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 715                │ Cooch Behar                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 783                │ COOCHBEHAR                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 716                │ Dakshin Dinajpur                       │
  ├────────────────────┼────────────────────────────────────────┤
  │ 717                │ Darjeeling                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 718                │ Diamond Harbor HD (S 24 Parganas)      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 719                │ East Bardhaman                         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 720                │ Hoogly                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 721                │ Howrah                                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 722                │ Jalpaiguri                             │
  ├────────────────────┼────────────────────────────────────────┤
  │ 723                │ Jhargram                               │
  ├────────────────────┼────────────────────────────────────────┤
  │ 724                │ Kalimpong                              │
  ├────────────────────┼────────────────────────────────────────┤
  │ 725                │ Kolkata                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 726                │ Malda                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 727                │ Murshidabad                            │
  ├────────────────────┼────────────────────────────────────────┤
  │ 728                │ Nadia                                  │
  ├────────────────────┼────────────────────────────────────────┤
  │ 729                │ Nandigram HD (East Medinipore)         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 730                │ North 24 Parganas                      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 731                │ Paschim Medinipore                     │
  ├────────────────────┼────────────────────────────────────────┤
  │ 732                │ Purba Medinipore                       │
  ├────────────────────┼────────────────────────────────────────┤
  │ 733                │ Purulia                                │
  ├────────────────────┼────────────────────────────────────────┤
  │ 734                │ Rampurhat HD (Birbhum)                 │
  ├────────────────────┼────────────────────────────────────────┤
  │ 735                │ South 24 Parganas                      │
  ├────────────────────┼────────────────────────────────────────┤
  │ 736                │ Uttar Dinajpur                         │
  ├────────────────────┼────────────────────────────────────────┤
  │ 737                │ West Bardhaman                         │

C:\Users\Satyam Roy\Desktop\shield>dawai slots 737
? Please choose age group 18-45
Date for which run ->26-05-2021
District ->West Bardhaman

  ┌────────────────────────────────────────┬────────────────────────────────────────┬────────────────────┬──────────┬────────────────────┐
  │              Center Name               │             Center Address             │   Available Slot   │   Age    │        Date        │
  ├────────────────────────────────────────┼────────────────────────────────────────┼────────────────────┼──────────┼────────────────────┤
  │ Nabaghanti UPHC                        │ Asansol                                │                    │ 18       │ 26-05-2021         │
  ├────────────────────────────────────────┼────────────────────────────────────────┼────────────────────┼──────────┼────────────────────┤
  │ Asansol UPHC 9 Nabaghanti              │ Nabaghanti                             │                    │ 18       │ 26-05-2021         │
  └────────────────────────────────────────┴────────────────────────────────────────┴────────────────────┴──────────┴────────────────────┘

C:\Users\Satyam Roy\Desktop\shield>

Made with ❤️ by Satyam Roy

reference used

  1. Tech- Blogs
  2. Node-js courses