UNPKG

@nilppm/npm

Version:

Node's internal lightweight private package manager

8 lines (7 loc) 257 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); async function decodePackageWithPkgname(ctx, next) { ctx.pkg = { pathname: ctx.params.pkgname, version: null }; await next(); } exports.default = decodePackageWithPkgname;