kollavarsham-js
v0.6.1
Published
Convert Gregorian date to Kollavarsham date and vice versa
Downloads
26
Maintainers
Readme
kollavarsham
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.