UNPKG

node-local-auth

Version:

Framework agnostic library for secure username/email/password authentication including registration and password management

8 lines (6 loc) 128 B
'use strict'; const assert = require('assert'); module.exports = function(val, msg) { assert(val, msg); return val; };