Mero Miti Developer Documentation
Universal Bikram Sambat (B.S.) calendar engine, datepicker, fiscal year calculator, and bidirectional AD ↔ BS converter across 10+ platforms. High-speed, offline-first, and ultra-compact (< 1 KB).
Universal Bikram Sambat Calendar SDKs for All Major Frameworks
Mero Miti provides standardized, ultra-lightweight (< 1 KB) Bikram Sambat packages across frontend and backend environments with native fiscal year calculation and dynamic sync:
⚛️ React & Next.js
React Nepali date picker components with bidirectional synchronization.
npm i @meromiti/react💚 Vue 3 & Nuxt
Vue 3 composition-ready Bikram Sambat datepicker with v-model.
npm i @meromiti/vue🅰️ Angular
Standalone Angular components & reactive forms directive.
npm i @meromiti/angular💙 Flutter & Dart
Native Material & Cupertino Nepali datepicker dialog & text field.
flutter pub add mero_miti🐘 PHP & Laravel
Laravel ServiceProvider, bs_date validation rule & Fiscal Year engine.
composer require meromiti/meromiti🐍 Python & Django
Django model fields, FastAPI Pydantic validators, AD/BS conversion.
pip install mero-miti🟣 .NET & C#
High-performance .NET 8.0 & .NET Standard 2.0 ASP.NET binders.
dotnet add package MeroMiti🌐 Web / Plain JS
Zero-config drop-in script for HTML forms, WordPress, & PHP.
npm i @meromiti/webUniversal Engine Capabilities
Every single SDK shares the identical verified calendar math. Whether you run PHP, React, Python, Flutter, or .NET, date calculations are 100% deterministic and synchronized.
Fiscal Year & Quarters Engine
Native Nepal Government fiscal year support (Shrawan 1 – Ashadh end). Computes fiscal codes (e.g. 2081/82, २०८१/८२) and exact financial quarters (Q1–Q4) with Gregorian boundaries.
getFiscalQuarter(date) → Q1 (श्रावण-आश्विन)
< 1 KB 24-Bit Encoded Engine
100+ years of calendar variations (29 to 32 days per month) packed into a compact 24-bit encoded table under 1 KB. Zero network calls and microsecond execution.
Zero latency • 100% offline reliability
Future-Proof Dynamic Sync
When the Nepal Calendar Determination Committee announces future years, new year tables can be dynamically registered at runtime or synced from Mero Miti Cloud API without rebuilding apps.
MeroMiti.syncFutureYears()
Complete Ecosystem Package Registry Matrix
↔ Swipe horizontally| Platform | Package ID | Registry | Version | Quick Install |
|---|---|---|---|---|
| ⚛️React | @meromiti/react ↗ | npm | v1.0.0 | npm install @meromiti/react |
| 💚Vue 3 | @meromiti/vue ↗ | npm | v1.0.0 | npm install @meromiti/vue |
| 🅰️Angular | @meromiti/angular ↗ | npm | v1.0.0 | npm install @meromiti/angular |
| 🌐Web / Vanilla JS | @meromiti/web ↗ | npm | v1.0.0 | <script src="https://meromiti.com/mero-miti.js" data-mero-miti-auto="true"></script> |
| 📱React Native | @meromiti/react-native ↗ | npm | v1.0.0 | npm install @meromiti/react-native |
| 💙Flutter | mero_miti ↗ | pub.dev | v1.0.0 | flutter pub add mero_miti |
| 🟨TypeScript / Node.js | @meromiti/core ↗ | npm | v1.0.0 | npm install @meromiti/core |
| 🐘PHP & Laravel | meromiti/meromiti ↗ | Packagist | v1.0.0 | composer require meromiti/meromiti |
| 🐍Python & Django | mero-miti ↗ | PyPI | v1.0.0 | pip install mero-miti |
| 🟣.NET / C# | MeroMiti ↗ | NuGet | v1.0.0 | dotnet add package MeroMiti |
| 🍎iOS & macOS (Swift) | MeroMiti ↗ | Swift Package Manager | v1.0.0 | https://github.com/inlinetechsolution/mero-miti.git |
Open Source & Enterprise Support
All Mero Miti packages are 100% open-source under the MIT license. Maintained by Inline Tech Solution. Need custom integrations or enterprise support?