kollavarsham-js

Convert Gregorian date to Kollavarsham date and vice versa

Usage no npm install needed!

<script type="module">
  import kollavarshamJs from 'https://cdn.skypack.dev/kollavarsham-js';
</script>

README

kollavarsham

NPM version Build Status Dependency Status Dev-Dependency Status Code Climate Code Climate Coverage Coverage percentage

Convert Gregorian date to Kollavarsham date and vice versa

Install

$ npm install --save kollavarsham

Usage

var Kollavarsham = require('kollavarsham');

var options = {
  system: 'SuryaSiddhanta',
  latitude: 10,
  longitude: 76.2,
  outputFormat: 'verbose'
};

var kollavarsham = new Kollavarsham(options);

var todayInMalayalamEra = kollavarsham.fromGregorianDate(new Date());

var today = kollavarsham.toGregorianDate(todayInMalayalamEra);

Documentation

Click here to visit the API Documentation

CLI app

Check out the cli module (GitHub repo) for the kollavarsham cross-platform CLI app

npm install -g kollavarsham-cli

kollavarsham --help

Release History

Check out the history at GitHub Releases

License

Copyright (c) 2014-2015 The Kollavarsham Team. Licensed under the MIT license.