JSPM

  • Created
  • Published
  • Downloads 216
  • Score
    100M100P100Q97524F
  • License MIT

Convert Gregorian date to Kollavarsham date and vice versa

Package Exports

  • kollavarsham
  • kollavarsham/dist/calendar.js
  • kollavarsham/dist/celestial/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kollavarsham) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

kollavarsham

NPM version Build Status Dependency Status Dev-Dependency Status Coverage Status

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-2018 The Kollavarsham Team. Licensed under the MIT license.