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.

error Cannot find module 'unpm-auth'
cause Package not installed.
fix
npm install unpm-auth
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.
npm install unpm-auth
yarn add unpm-auth
pnpm add unpm-auth

Shows how to integrate unpm-auth as a plugin into an unpm server instance.

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');