loopback-async-boot

Higher order wrapper to allow async functions as loopback boot scripts

Usage no npm install needed!

<script type="module">
  import loopbackAsyncBoot from 'https://cdn.skypack.dev/loopback-async-boot';
</script>

README

loopback-async-boot

Higher order function to use async functions as loopback boot scripts.

Usage

// boot/script.js
const handler = require('loopback-async-boot');

module.exports = handler(async(app) => {
  await ...
});