{"library":"npm-http-server","title":"npm-http-server","description":"HTTP server that serves files from npm packages by URL pattern /package@version/path. Current stable version 4.3.0. Designed for development or mirroring npm package contents over HTTP. Supports version ranges, tagging, automatic index generation, and optional Bower bundle creation. Pre-ESM, CommonJS-only module with named exports. Last published 2019; no recent updates. Differentiates from nginx-static or serve by resolving npm registry versions dynamically.","language":"javascript","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["npm install npm-http-server"],"cli":{"name":"npm-http-server","version":null}},"imports":["import { createServer } from 'npm-http-server'","import { createRequestHandler } from 'npm-http-server'","import * as NpmHttpServer from 'npm-http-server'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { createServer } from 'npm-http-server';\nconst server = createServer({\n  registryURL: 'https://registry.npmjs.org',\n  autoIndex: true\n});\nserver.listen(8080, () => {\n  console.log('npm-http-server running on port 8080');\n});\n\n// Then visit: http://localhost:8080/express@4.18.2/package.json","lang":"javascript","description":"Creates a server that serves package.json from any npm package by URL.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}