0.6.1 • Published 9 years ago

kollavarsham-js v0.6.1

Weekly downloads
1
License
-
Repository
github
Last release
9 years ago

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.