Socket
Socket
Sign inDemoInstall

calcdate

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calcdate - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

package.json
{
"name": "calcdate",
"version": "2.0.1",
"version": "2.0.2",
"description": "Evalate a date expression calc`now + 3 days`)!",

@@ -5,0 +5,0 @@ "main": "dist/datecalculator.js",

@@ -13,2 +13,3 @@ # Date Calculator

// import { momentcalc } from "calcdate"; // with moment
// import moment from "moment";

@@ -26,2 +27,3 @@ const dval = calc();

// const luxoncalc = require("calcdate").luxoncalc;
// import luxon from "luxon";
const dval = calc();

@@ -73,6 +75,12 @@ // const dval = luxoncalc(luxon);

## Examples
**Note**
You need to initialize the calculator with your library:
TBD
```
import { datefnsCalculator } from "calcdate"
import datefns from "datefns";
const calculator = datefnsCalculator(datefns);
```
## Api docs

@@ -79,0 +87,0 @@

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