unpm-auth
raw JSON → 1.1.0 verified Sat Apr 25 auth: no javascript maintenance
A plugin for unpm (unified package manager) that adds authentication endpoints, enabling user login, token management, and access control. Version 1.1.0 is the current stable release; the package is mature with minimal updates expected. It integrates directly with unpm's plugin system and provides HTTP-based auth (e.g., Bearer tokens). Unlike more active alternatives like Verdaccio, unpm-auth is tied to the unpm ecosystem and may lack modern auth flows.
Common errors
error Cannot find module 'unpm-auth' ↓
cause Package not installed.
fix
npm install unpm-auth
Warnings
gotcha unpm-auth is tightly coupled to unpm; it may not work with newer versions of unpm without updates. ↓
fix Check compatibility with your version of unpm before using.
Install
npm install unpm-auth yarn add unpm-auth pnpm add unpm-auth Imports
- default
import auth from 'unpm-auth'
Quickstart
import unpm from 'unpm';
import auth from 'unpm-auth';
const server = unpm({ port: 1337 });
server.use(auth());
server.start();
console.log('unpm server with auth running on port 1337');