52 thoughts on “Today I Learned (TIL)”

  1. Express Basic Auth

    const app = require('express')();
    const basicAuth = require('express-basic-auth');

    app.use(basicAuth({
    users: { 'username': 'password' },
    challenge: true,
    }));

Leave a Reply