basic-auth
3.0.0 · 3 Aug 2026MIT28.1M / weekRepositoryHomepagenpmAtom feed
Your version
In short
1 removed1 new5 changed
- removed
Removes the default export in favor of
parse(str)#94
Release note
This release switches the package to ESM.
Changed
Publish package as ESM #99
Add
format({ name, pass })method #65Bump supported node versions >=22 #102
The
parsemethod expects a string
Added
Cross platform base64 support #95
Removed
- removed
Removes the default export in favor of
parse(str)#94Do
parse(req.headers.authorization ?? '')instead
Improvements
Parse performance improved by ~15% #96