Simple express middleware that makes any blocklet auto adapting to ABT Node router

Usage no npm install needed!

<script type="module">
  import abtnodeRouterAdapter from 'https://cdn.skypack.dev/@abtnode/router-adapter';



Middleware for blocklets to make it adaptive to ABT Node Router.

const express = require('express');
const getRouterAdapter = require('@abtnode/router-adapter');

const app = express();
// or app.use(getRouterAdapter(customGetBaseUrl));

app.listen(4001, () => {
  console.log('Server ready at http://localhost:4001/private?__st__=sometoken');