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

moon-time

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moon-time

moon-time is a component that converts the solar calendar to the lunar calendar (Chinese lunar calendar), it is very simple to use。

  • 1.0.5
  • npm
  • Socket score

Version published
Weekly downloads
26
decreased by-18.75%
Maintainers
1
Weekly downloads
 
Created
Source

moon-time

moon-time is a component that converts the solar calendar to the lunar calendar (Chinese lunar calendar), it is very simple to use。

Install

    npm install moon-time
    let moonTimes = moonTime({
        year,
        month,
        day
    })

npm way


	let moonTime = require('calculate')
	
	let moonTimes = moonTime({
	    year:2022,
	    month:10,
	    day:13
	})
	
	console.log(moonTimes);
	

javascript way

<body>
    <script src="./calculate"></script>
    <script>
        let moonTimes = moonTime({
			year:2022,
            month:10,
            day:13
        })
        
        console.log(moonTimes);
    </script>
</body>

Keywords

FAQs

Package last updated on 21 Oct 2022

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