Skip to main content

Convert Gregorian date to Kollavarsham date and vice versa

Project description

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

import { Kollavarsham } from 'kollavarsham';

const options = {
  system: 'SuryaSiddhanta',
  latitude: 10,
  longitude: 76.2
};

const kollavarsham = new Kollavarsham(options);

const todayInMalayalamEra = kollavarsham.fromGregorianDate(new Date());

const today = kollavarsham.toGregorianDate(todayInMalayalamEra);

Documentation

Check out the Kollavarsham class within the API documentation as this is the entry point into the library.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kollavarsham-1.5.2.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distribution

kollavarsham-1.5.2-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page