Skip to content

Bangla CalendarComprehensive Bengali Calendar System Library

Built for any JavaScript and TypeScript environment

Bangla Calendar Logo

Installation

sh
npm install bn-calendar
sh
pnpm add bn-calendar
sh
yarn add bn-calendar
bash
bun add bn-calendar
bash
deno add npm:bn-calendar

Quick Example

typescript
import { 
BanglaCalendar
} from 'bn-calendar';
// Current date in Bangla calendar const
today
= new
BanglaCalendar
();
console
.
log
(
today
.
toString
());
// Output: "শুক্রবার, ৯ ফাল্গুন, ১৪৩২ [বসন্ত]" // Convert from Gregorian date string const
date
= new
BanglaCalendar
('2026-02-20');
console
.
log
(
date
.
toJSON
());
// Output: "১৪৩২-১১-০৮" // Format with custom tokens
console
.
log
(
date
.
format
('dd, DD mmmm (SS), YYYY বঙ্গাব্দ'));
// Output: "শু, ০৮ ফাল্গুন (বসন্ত), ১৪৩২ বঙ্গাব্দ"

Released under the Apache 2.0 License.