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 1.1.11 to 1.1.12

2

package.json
{
"name": "croner",
"version": "1.1.11",
"version": "1.1.12",
"description": "Isomorphic JavaScript cron parser and scheduler.",

@@ -5,0 +5,0 @@ "author": "Hexagon <github.com/hexagon>",

@@ -9,13 +9,41 @@

```html
<script src="//cdn.56k.guru/js/croner/latest/croner.min.js"></script>
```
```javascript
// Run a function each second
Cron('* * * * * *', function () {
console.log('This will run every second');
});
```
# Installation
## Node.js
## Node.js (server)
```npm install croner```
## Browser (AMD and regular usage)
### cdn (client)
Download lib/croner.min.js and import with script-tag or AMD as usual.
Copy and paste one of the following script tags.
**Minified**
```html
<script src="//cdn.56k.guru/js/croner/latest/croner.min.js"></script>
```
**Full**
```html
<script src="//cdn.56k.guru/js/croner/latest/croner.js"></script>
```
### Manual (server/client)
* Download latest [zipball](http://github.com/Hexagon/croner/zipball/master/)
* Unpack
* Grab croner.js (or croner.min.js) from the [lib/](/lib) folder
# Examples

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