authmagic middleware for express.js which works with timerange-stateless core.
npm i --save authmagic-timerange-stateless-express-middleware
const timerangeAuthMiddleware = require('authmagic-timerange-stateless-express-middleware');
...
const app = express();
app.use(cors());
// authmagicUrl - url to reach your authmagic server
app.use(timerangeAuthMiddleware({url: authmagicUrl}));
authmagic-timerange-stateless-core is MIT licensed.