Module
Trigger functions or evaluate cron expressions in JavaScript or TypeScript. No dependencies. Most features. Node. Deno. Bun. Browser.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{ "name": "croner", "version": "8.1.1", "description": "Trigger functions and/or evaluate cron expressions in JavaScript. No dependencies. Most features. All environments.", "author": "Hexagon <github.com/hexagon>", "homepage": "https://croner.56k.guru", "contributors": [ { "name": "Pehr Boman", "email": "github.com/unkelpehr" } ], "repository": { "type": "git", "url": "https://github.com/hexagon/croner" }, "bugs": { "url": "https://github.com/hexagon/croner/issues" }, "files": [ "dist/*.min.js", "dist/*.min.cjs", "types/*" ], "engines": { "node": ">=18.0" }, "keywords": [ "cron", "front-end", "backend", "parser", "croner", "schedule", "scheduler", "timer", "task", "job", "isomorphic", "crontab" ], "scripts": { "test": "uvu test test.croner.js", "test:dist": "uvu test/node/js && npm run test:ts", "test:bun": "bun test test/bun", "test:lint": "eslint ./**/*.js ./**/*.cjs", "test:lint:fix": "eslint --fix ./**/*.js ./**/*.cjs", "test:ts": "tsc --strict --noEmit ./test/node/ts/basics.ts", "build": "npm update && npm run build:precleanup && npm run test:lint && npm run build:dist && npm run build:typings && npm run build:minify && npm run test:dist", "build:ci": "npm run test:lint && npm run build:dist && npm run build:typings && npm run test:dist", "build:precleanup": "(rm -rf types/* || del /Q types\\*) && (rm -rf dist/* || del /Q dist\\*)", "build:dist": "rollup -c ./rollup.config.js", "build:minify": "uglifyjs dist/croner.umd.js --source-map -o dist/croner.umd.min.js && uglifyjs dist/croner.js --source-map -o dist/croner.min.js && uglifyjs dist/croner.cjs --source-map -o dist/croner.min.cjs", "build:typings": "tsc && tsc --build tsconfig.cjs.json" }, "type": "module", "main": "./dist/croner.min.cjs", "browser": "./dist/croner.umd.min.js", "module": "./dist/croner.min.js", "types": "./types/croner.d.ts", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./types/croner.d.ts", "default": "./dist/croner.min.js" }, "require": { "types": "./types/croner.d.cts", "default": "./dist/croner.min.cjs" }, "browser": "./dist/croner.umd.js" } }, "devDependencies": { "eslint": "^9.2.0", "minitz": "^4.0.6", "rollup": "^4.8.0", "typescript": "^5.1.6", "uglify-js": "^3.17.4", "uvu": "^0.5.6" }, "license": "MIT"}