npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

crongen

v0.1.0

Published

Cron schedule generator

Readme

crongen

Generate cron schedules that account for office hours, daylight savings time, holidays and more.

Usage

$ npm install -g crongen
$ crongen -t Europe/Stockholm -c swe
0 8-16 1,4,5,6,7,8,11,12,13,14,15,18,19,20,21,22,25,26,27,28,29 1 ? 2016
0 8-16 2,3,4,5,8,9,10,11,12,15,16,17,18,19,22,23,24,25,26,29 2 ? 2016
0 8-16 1,2,3,4,7,8,9,10,11,14,15,16,17,18,21,22,23,24,25 3 ? 2016
0 7-15 28,29,30,31 3 ? 2016
0 7-15 1,4,5,6,7,8,11,12,13,14,15,18,19,20,21,22,26,29 4 ? 2016
0 7-15 2,3,4,5,6,9,10,11,12,13,16,17,18,19,20,23,24,25,26,27,30,31 5 ? 2016
0 7-15 2,3,6,7,8,9,10,13,14,16,17,20,21,22,23,24,27,28,29,30 6 ? 2016
0 7-15 1,4,5,7,8,11,12,13,14,15,18,19,20,21,22,26,27,28,29 7 ? 2016
0 7-15 1,2,3,4,5,8,9,10,11,12,15,16,17,18,19,22,23,24,25,26,29,30,31 8 ? 2016
0 7-15 1,2,5,6,7,8,9,12,13,14,15,16,19,20,21,22,23,26,27,28,29,30 9 ? 2016
0 7-15 3,4,5,6,7,10,11,12,13,14,17,18,19,20,21,24,25,26,27,28 10 ? 2016
0 8-16 31 10 ? 2016
0 8-16 1,2,3,4,7,8,9,10,11,14,15,16,17,18,21,22,23,24,25,28,29,30 11 ? 2016
0 8-16 1,2,6,7,8,9,12,13,14,15,16,19,20,21,22,23,26,27,28,29,30 12 ? 2016

Synopsis

crongen [<opts>] <timezone>

| Flag | Description | Example | Default | |------|-------------------------------------------------------------------------------------|------------|--------------| | -f | Cron format | cloudwatch | cloudwatch | | -c | Country identifier for holiday lookup (reference) | deu | | | -r | Region identifier for holiday lookup (reference) | Hamburg | | | -e | Date ranges to exclude (D/M format, can be supplied multiple times) | 6/7-6/8 | | | -w | Weekdays to include | Tue-Sat | Mon-Fri | | -y | Year for which to generate schedule | 2018 | Current year |

Credits

Kayaposoft for creating the wonderful, freely available Enrico holiday API. Please consider giving them a donation.