buddhist-christian-era-converter

Buddhist - Christian Era converter

Usage no npm install needed!

<script type="module">
  import buddhistChristianEraConverter from 'https://cdn.skypack.dev/buddhist-christian-era-converter';
</script>

README

buddhist-christian-era-converter

Simple Buddhist - Christian Era converter

How to use

To convert from Buddist to Christian year

const converter = require('buddhist-christian-era-converter');

const christianYear = converter.toChristianYear(buddhistYear);

To convert from Christian to Buddist year

const converter = require('buddhist-christian-era-converter');

const buddhistYear = converter.toBuddistYear(christianYear);