@amokrushin/app-init

Graceful shutdown application services

Usage no npm install needed!

<script type="module">
  import amokrushinAppInit from 'https://cdn.skypack.dev/@amokrushin/app-init';
</script>

README

Graceful shutdown application services

init([
    mysqlPool,
    nextServer,
    httpServer,
]).catch(console.error);