@abdul_waheed/bmi-calculator

1.0.0 • Public • Published

BMI Calculator

This BMI (Body Mass Index) Calculator is a command-line tool built with TypeScript and utilizes the inquirer and chalk npm packages. It allows users to calculate their BMI by entering their weight in kilograms and height in meters. The program then computes the BMI value and categorizes it into different weight status categories such as underweight, normal weight, overweight, and obese.

Features

  • User-friendly command-line interface.
  • Calculates BMI based on weight and height inputs.
  • Provides BMI category for easy understanding of weight status.

Installation

Before running the program, make sure you have Node.js installed on your system. You can install the program's dependencies using npm:

npm install

Usage

To run the BMI Calculator, use the following command:

npm start

Follow the on-screen prompts to enter your weight and height, and the program will calculate your BMI and display the result along with your weight status category.

Dependencies

  • inquirer: For prompting the user for input.
  • chalk: For styling the console output.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.

License

This project is licensed under the ISC License

Readme

Keywords

none

Package Sidebar

Install

npm i @abdul_waheed/bmi-calculator

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

16.4 kB

Total Files

5

Last publish

Collaborators

  • abdul_waheed