Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "computus", | ||
"version": "2.0.2", | ||
"description": "Compute easter day in the gregorian and julian calendar", | ||
"version": "2.0.3", | ||
"description": "Compute easter day in the gregorian calendar", | ||
"keywords": [ | ||
@@ -10,3 +10,2 @@ "computus", | ||
"gregorian", | ||
"julian", | ||
"holiday" | ||
@@ -59,4 +58,5 @@ ], | ||
"engines": { | ||
"node": ">=14.0.0" | ||
"node": ">=14.x", | ||
"npm": ">=6.x" | ||
} | ||
} |
# Computus | ||
[![CircleCI](https://img.shields.io/circleci/build/github/rhnorskov/computus)](https://circleci.com/gh/rhnorskov/computus) | ||
![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/rhnorskov/computus/ci/master) | ||
[![Downloads](https://img.shields.io/npm/dw/computus)](https://npmjs.com/computus) | ||
Compute easter day in the gregorian and julian calendar | ||
Compute easter day in the gregorian calendar | ||
@@ -14,24 +14,8 @@ ## Install | ||
``` | ||
yarn install computus | ||
``` | ||
## Usage | ||
CommonJS | ||
``` | ||
const computus = require("computus"); | ||
import { computus } from "computus"; | ||
const gregorianEaster = computus.gregorian(2020); | ||
const julianEaster = computus.julian(2020); | ||
const easter = computus(2020); | ||
``` | ||
ECMAScript Module | ||
``` | ||
import { gregorian, julian } from "computus"; | ||
const gregorianEaster = gregorian(2020); | ||
const julianEaster = julian(2020); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11046
21