kollavarsham-js

0.6.1 • Public • Published

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.

Package Sidebar

Install

npm i kollavarsham-js

Weekly Downloads

0

Version

0.6.1

License

none

Last publish

Collaborators

  • floydpink