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

croner

Package Overview
Dependencies
Maintainers
1
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

croner - npm Package Compare versions

Comparing version 4.0.72 to 4.0.73

types/croner.d.ts

5

package.json
{
"name": "croner",
"version": "4.0.72",
"version": "4.0.73",
"description": "Trigger functions in javascript using Cron syntax. No deps. All features.",

@@ -26,4 +26,3 @@ "author": "Hexagon <github.com/hexagon>",

"SECURITY.md",
"croner.png",
"mod.ts"
"croner.png"
],

@@ -30,0 +29,0 @@ "keywords": [

6

README.md

@@ -58,3 +58,3 @@ <p align="center">

```javascript
import Cron from "https://cdn.jsdelivr.net/npm/croner@4/mod.ts";
import Cron from "https://cdn.jsdelivr.net/gh/hexagon/croner@4/src/croner.js";

@@ -69,5 +69,5 @@ Cron("* * * * * *", () => {

```typescript
import { Cron } from "https://cdn.jsdelivr.net/npm/croner@4/mod.ts";
import { Cron } from "https://cdn.jsdelivr.net/gh/hexagon/croner@4/src/croner.js";
let scheduler : Cron = new Cron("* * * * * *", {}, () => {
let scheduler : Cron = new Cron("* * * * * *", () => {
console.log("This will run every second.");

@@ -74,0 +74,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