Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lunardate

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lunardate

Thi is the javascript library to convert date to lunar date and vice versa.

  • 1.0.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

lunardate

Thi is the javascript library to convert date to lunar date and vice versa.

installation


    npm install lunardate

Usages

convert from solar date to lunar date


import {convertSolar2Lunar} from "lunardate"

const lunarDate = convertSolar2Lunar(20, 5, 1990);

console.log(lunarDate)

// output will give below result
// { year: 1990, month: 4, day: 26, isLeafYear: false }

Credit

This library using the source from https://www.informatik.uni-leipzig.de/~duc/amlich/ with few small modification

Keywords

FAQs

Package last updated on 15 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc