0.0.1 • Published 4 years ago
@pyramation/htpasswd v0.0.1
htpasswd
Utilities for htpasswd username password generation
Installation
npm install @pyramation/htpasswd
Usage
import htpasswd from '@pyramation/htpasswd';
const { auth, header } = htpasswd(username, password);
You will get the auth hash, as well as the header you'll need for basic-auth
0.0.1
4 years ago