Skip to content

iofjuupasli/kefir-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kefir-cron

Creates stream from cron-string

Uses kefir and node-cron

Example:

var cron = require('kefir-cron');
var everySecond = cron('* * * * * *');
everySecond
    .map(() => new Date())
    .log('tick');

API:

(cronTime: string): KefirStream;

cronTime

KefirStream

Install

npm i -S kefir-cron

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published