Package Exports
- kollavarsham
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

Convert Gregorian date to Kollavarsham date and vice versa
Getting Started
Install the module with: npm install kollavarsham
Usage
As library/module
var Kollavarsham = require('kollavarsham');
var options = {
bija: true,
latitude: 10,
longitude: 76.2,
outputFormat: 'verbose'
};
var kollavarsham = new Kollavarsham(options);
var todayInMalayalamEra = kollavarsham.fromGregorianDate(new Date());
var today = kollavarsham.toGregorianDate(todayInMalayalamEra);As globally installed node.js CLI app
npm install -g kollavarsham
kollavarsham --helpDocumentation
Click here to visit the API Documentation
Examples
To convert Modern Date to Kollavarsham Date for Location (100 deg east, 90 deg north with bija and list output:
kollavarsham -b -t 90 -g 100 -m 0 -o list 23:08:2008To convert Modern Date to with default settings (Location: Ujjain):
kollavarsham 04:04:2011Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Release History
(Nothing yet)
License
Copyright (c) 2014 The Kollavarsham Team. Licensed under the MIT license.