{"size": 381, "ext": "js", "max_stars_repo_path": "build-service-worker.js", "max_stars_repo_name": "milelo/yetipad-app", "max_stars_repo_stars_event_min_datetime": "2021-09-26T19:10:06.000Z", "max_stars_repo_stars_event_max_datetime": "2021-09-26T19:10:09.000Z", "max_issues_repo_path": "build-service-worker.js", "max_issues_repo_name": "milelo/yetipad-app", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "build-service-worker.js", "max_forks_repo_name": "milelo/yetipad-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 34.6363636364, "max_line_length": 98, "alphanum_fraction": 0.6797900262}
//node .\build-service-worker.js
const {generateSW} = require('workbox-build');
const swDest = 'yetipad/service-worker.js';
generateSW({
  //swSrc: 'src-js/service-worker.js',
  swDest,
  globDirectory: 'yetipad',
  // Other configuration options...
}).then(({count, size}) => {
  console.log(`Generated ${swDest}, which will precache ${count} files, totaling ${size} bytes.`);
});