@appneural/plugin-calculators
v0.1.15
Published
Calculator toolkit with financial and statistical utilities.
Readme
APPNEURAL Calculators Plugin
NPM: @appneural/plugin-calculators
Folder: appneural-plugin-calculators
Overview
Financial, mathematical, probability, and fitness calculators for quick CLI checks.
Installation
npm install @appneural/plugin-calculatorsUsage Example
appneural tools calculators loan-emi --principal 100000 --rate 12 --months 24Commands Table
| Command | Description | | --- | --- | | calculators gst | Compute GST amount and total on a base price | | calculators tax | Estimate tax from income and rate | | calculators discount | Apply a percentage discount to a price | | calculators margin | Derive margin percentage from cost and selling price | | calculators loan-emi | Calculate EMI for a loan using principal, rate, and tenure | | calculators age | Determine age in years, months, and days from a birthdate | | calculators bmi | Compute BMI and classify the category | | calculators calorie | Estimate BMR using the Mifflin-St Jeor equation | | calculators tdee | Multiply BMR by activity level to guess daily energy needs | | calculators percentage | Determine what percent a value is of a total | | calculators sales-tax | Add sales tax to a bill and show totals | | calculators probability | Evaluate probability from favorable and total outcomes | | calculators average | Average comma-separated numeric inputs | | calculators days | Count full days between two dates | | calculators hours | Measure hours between timestamps |
Examples
appneural tools calculators gst --amount 1200 --rate 18appneural tools calculators tax --income 90000 --rate 15appneural tools calculators discount --price 200 --discount 20appneural tools calculators margin --cost 120 --price 180appneural tools calculators loan-emi --principal 500000 --rate 10 --months 60appneural tools calculators age --birthdate 1990-04-15appneural tools calculators bmi --weight 70 --height 1.75appneural tools calculators calorie --weight 70 --height 175 --age 30 --gender femaleappneural tools calculators tdee --bmr 1500 --activityLevel moderateappneural tools calculators percentage --value 45 --total 180appneural tools calculators sales-tax --amount 500 --rate 8appneural tools calculators probability --favorable 3 --total 10appneural tools calculators average --numbers 10,20,30,40appneural tools calculators days --start 2024-01-01 --end 2024-02-01appneural tools calculators hours --start 2024-02-01T08:00 --end 2024-02-01T17:30
