{"id":18897,"library":"unpm-auth","title":"unpm-auth","description":"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.","status":"maintenance","version":"1.1.0","language":"javascript","source_language":"en","source_url":"git://github.com/hayes/unpm-auth","tags":["javascript"],"install":[{"cmd":"npm install unpm-auth","lang":"bash","label":"npm"},{"cmd":"yarn add unpm-auth","lang":"bash","label":"yarn"},{"cmd":"pnpm add unpm-auth","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency: unpm is the host application requiring auth endpoints","package":"unpm","optional":false}],"imports":[{"note":"Default export is the plugin function.","symbol":"default","correct":"import auth from 'unpm-auth'"}],"quickstart":{"code":"import unpm from 'unpm';\nimport auth from 'unpm-auth';\n\nconst server = unpm({ port: 1337 });\nserver.use(auth());\nserver.start();\nconsole.log('unpm server with auth running on port 1337');","lang":"javascript","description":"Shows how to integrate unpm-auth as a plugin into an unpm server instance."},"warnings":[{"fix":"Check compatibility with your version of unpm before using.","message":"unpm-auth is tightly coupled to unpm; it may not work with newer versions of unpm without updates.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install unpm-auth","cause":"Package not installed.","error":"Cannot find module 'unpm-auth'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}