🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@kabeep/lunar-date-fns

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kabeep/lunar-date-fns

A JavaScript lunar date utility library

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

lunar-date-fns

A JavaScript lunar date utility library

NodeJS License NPM Codecov Codacy Badge CircleCI

English | 简体中文

Insights

📖 Introduction

This repository was created because my family's custom is to use the lunar calendar for birthdays, and many people can easily remember them except for me. I prefer the Gregorian calendar for birthdays.

Therefore, this package is currently mainly used for the mutual conversion between the Gregorian calendar and the lunar calendar. It will not output i18n, the Chinese zodiac, the 24 solar terms, the heavenly stems and .etc.

A lightweight, precise and zero-dependency utility library using Kim Larson's algorithm.

See documentation.

⚙️ Installation

npm install @kabeep/lunar-date-fns --save
yarn add @kabeep/lunar-date-fns
pnpm add @kabeep/lunar-date-fns

🚀 Usage

CommonJS

const { toLunar, toSolar } = require('@kabeep/lunar-date-fns');

ESModule

import { toLunar, toSolar } from '@kabeep/lunar-date-fns';

🤝 Contribution

Contributions via Pull Requests or Issues are welcome.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

Keywords

lurna

FAQs

Package last updated on 16 Nov 2024

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