@abdul_waheed/bmi-calculator
v1.0.0
Published
bmi-calculator
Downloads
3
Readme
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
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