Comparing version 0.1.1-3 to 1.0.1
{ | ||
"name": "computus", | ||
"version": "0.1.1-3", | ||
"version": "1.0.1", | ||
"description": "Compute easter day in the gregorian and julian calendar", | ||
"keywords": [ | ||
"computus", | ||
"easter", | ||
"date", | ||
"gregorian", | ||
"julian", | ||
"holiday" | ||
], | ||
"license": "MIT", | ||
@@ -13,20 +22,22 @@ "author": "Rasmus Nørskov", | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build", | ||
"test": "tsdx test", | ||
"lint": "tsdx lint", | ||
"prepare": "tsdx build" | ||
"prepare": "tsdx build", | ||
"release": "np --no-publish", | ||
"start": "tsdx watch", | ||
"test": "tsdx test" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "tsdx lint" | ||
} | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^25.1.2", | ||
"husky": "^4.2.1", | ||
"np": "^6.0.0", | ||
"tsdx": "^0.12.3", | ||
"tslib": "^1.10.0", | ||
"typescript": "^3.7.5" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "tsdx lint" | ||
} | ||
} | ||
} |
# Computus | ||
[![CircleCI](https://img.shields.io/circleci/build/github/rhnorskov/computus)](https://circleci.com/gh/rhnorskov/computus) | ||
[![Downloads](https://img.shields.io/npm/dw/computus)](https://npmjs.com/computus) | ||
@@ -14,1 +15,21 @@ | ||
``` | ||
## Usage | ||
CommonJS | ||
``` | ||
const computus = require("computus"); | ||
const gregorianEaster = computus.gregorian(2020); | ||
const julianEaster = computus.julian(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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
16858
1
35
6