Very configurable, powerful and yet simple Service Worker generator based on your rules, described in a json file*.
It may use JavaScript files as well.