cron-expression-generator
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Cron Expression Generator

Generate crontab expression using friendly and declarative API heavily inspired by Laravel.



Usage

// ESM
import { cron } from 'cron-generator-expression' 

// CJS
const { cron } = require('cron-generator-expression')

const expression = cron().mondays().everyTwoMinutes().get()
console.log(expression) // */2 * * * 1

License

MIT License © 2022 Julien Ripouteau

Package Sidebar

Install

npm i cron-expression-generator

Weekly Downloads

5

Version

0.0.1

License

MIT

Unpacked Size

15.3 kB

Total Files

6

Last publish

Collaborators

  • julien-r44