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

computus

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

computus - npm Package Compare versions

Comparing version 0.1.1-3 to 1.0.1

29

package.json
{
"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);
```
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