burma-calendar
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

Myanmar Calendar

Convert Gregorian date to the Myanmar date including current Myanmar date,moon phase and so on.

Features

  • [x] Myanmar date
  • [x] Moon phase
  • [x] i18n Support

Installation

npm install burma-calendar

Usage

import {englishToMyanmarDate} from 'burma-calendar'

const today = new Date()
const burmaToday = englishToMyanmarDate(today)
console.log(burmaToday)

i18n

import {i18n} from 'burma-calendar'

const inMyanmar = i18n("လပြည့်", "myanmar", "english") // Full Moon

Readme

Keywords

none

Package Sidebar

Install

npm i burma-calendar

Weekly Downloads

0

Version

1.2.1

License

MIT

Unpacked Size

434 kB

Total Files

5

Last publish

Collaborators

  • amm834