A single-page calculator: FOB → CIF → + Duty (BCD+SWS, no GST) → + Port add‑ons (Falcon non‑ocean) → + Trucking → Final (No GST) with optional pricing layer.
# 1) Install deps
npm i
# 2) Run dev server
npm run dev # then open the URL printed by Vite
# 3) Build for production
npm run build && npm run previewStyling is via Tailwind CDN in
index.html(no setup required).
- Items columns:
name, unit, qty, fobUsd, bcdRate - Settings columns:
exr, seaFreightINR, insuranceINR, falconNonOceanINR, truckingINR, fiBasis, ptBasis
Use the Items Template / Settings Template buttons in the UI or the sample CSVs in /public.
Export via Export Calculations CSV to download per‑item computed outputs (FOB/CIF/Duty/Port/Truck/Final per unit, plus optional Dealer price if enabled).
We include a light test with Vitest/JSDOM to ensure the header renders.
npm run test