cron-picker
v1.0.2
Published
An html element for entering cron expressions
Downloads
8
Readme
Install
npm install --save cron-picker
Use
cron = require('cron-picker')
document.body.appendChild(cron({
cronExpression: '* * * * *',
onChange: expression => {
// do something with the new cron expression
}
}))
A standalone version is also included in dist/
:
<script src="node_modules/cron-picker/dist/index.js"></script>
<script>
document.body.appendChild(cron({ ... }))
</script>