GitShow/antfu/fast-npm-meta
antfu

fast-npm-meta

A lightweight API server to get npm package metadata, resolve the latest versions on server, and batch multiple package resolutions in one request.

by antfu
Star on GitHubForkWebsitenpm

TypeScript

209 stars18 forks15 contributorsActive · 1w agoSince 2024MIT

Meet the team

See all 15 on GitHub →
antfu
antfu86 contributions
sxzz
sxzz5 contributions
9romise
9romise3 contributions
alex-key
alex-key2 contributions
kricsleo
kricsleo2 contributions
outslept
outslept2 contributions
anubra266
anubra2661 contribution
antongolub
antongolub1 contribution

Recent PRs & issues

Active · 3 in progress · Last activity 1w ago
See all on GitHub →
jack-old-archive
feat: support JSR packages via `jsr:` prefixOpenPR

🔗 Linked issue resolves #22 🔄 Context JSR provides an npm-compatible registry at , but there's currently no way to query JSR packages through fast-npm-meta without changing the global (which would break npm lookups). 📚 Description Add a prefix that automatically routes requests to the JSR npm-compatible registry. is resolved to on Batching with npm packages works: Response returns the original JSR name (e.g. ) instead of the internal Changes: New — prefix detection and name conversion — add optional param to — detect prefix before parsing, pass registry info to handler and — use display name and registry from options — document JSR usage

jack-old-archive · 2mo ago
jack-old-archive
feat: add Dockerfile for self-hostingOpenPR

Add multi-stage Dockerfile (node-server preset) Add .dockerignore Allow overriding git revision and Nitro preset via env vars Document Docker usage in README Closes #19 🔗 Linked issue resolves #19 🔄 Context Currently the server is hardcoded to the preset with no official way to self-host. Users who want to deploy on their own infrastructure need a Docker image. 📚 Description Add a multi-stage Dockerfile that builds the server with the Nitro preset, producing a minimal production image containing only Node.js and the compiled directory. Changes: Dockerfile: 3-stage build (deps → build → runtime), final image based on .dockerignore: exclude , , , etc. server/nitro.config.ts: allow and env var overrides, with try-catch fallback for in environments without README.md: add Docker build & run instructions with environment variable reference

jack-old-archive · 2mo ago

Recent fixes

View closed PRs →
sxzz
fix: check for `approver` field to determine if package is stagedMergedPR

🔗 Linked issue 🧭 Context 📚 Description

sxzz · 1w ago
sxzz
feat: add `staged` fieldMergedPR

Whether the package is staged publishing 🔗 Linked issue 🧭 Context 📚 Description

sxzz · 1mo ago
sxzz
fix!: separate provenance and trustedPublisher fieldsMergedPR

🔗 Linked issue 🧭 Context 📚 Description separate provenance and trustedPublisher fields, since provenance can be disabled even with trusted publishing see also https://github.com/pnpm/pnpm/issues/11887#issuecomment-4528601950

sxzz · 1mo ago
Structured data for AI agents

Repository: antfu/fast-npm-meta. Description: A lightweight API server to get npm package metadata, resolve the latest versions on server, and batch multiple package resolutions in one request. Stars: 209, Forks: 18. Primary language: TypeScript. License: MIT. Homepage: https://npm.antfu.dev/vite@alpha+nuxt Open PRs: 3, open issues: 6. Last activity: 1w ago. Top contributors: antfu, sxzz, 9romise, alex-key, kricsleo, outslept, anubra266, antongolub, GeoffreyParrier, ElshadHu and others.

·@ofershap

Replace github.com with gitshow.dev