Convert Gregorian date to Kollavarsham date and vice versa
UPDATE (9/16/2015): This ES5 version of the library has been ported into an ES2015/ES6 version that is transcompiled by Babel at https://github.com/kollavarsham/kollavarsham-js. The core npm package will be published from that repo from here onwards.
Install the module with: npm install kollavarsham
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);
Click here to visit the API Documentation
Check out the cli module (GitHub repo) for the kollavarsham
cross-platform CLI app
npm install -g kollavarsham-cli
kollavarsham --help
Check the Contributing guide.
Check out the history at GitHub Releases
Copyright (c) 2014-2015 The Kollavarsham Team. Licensed under the MIT license.