docs: fix npm (#15785)

This commit is contained in:
Tony 2024-06-01 23:12:42 +08:00 committed by GitHub
parent 759041f7fb
commit ef7ff49062
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 2 deletions

View File

@ -8,8 +8,15 @@ import path from 'node:path';
export const route: Route = {
path: '/package/:name{(@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*}',
name: 'Unknown',
maintainers: [],
name: 'Package',
maintainers: ['Fatpandac'],
categories: ['program-update'],
example: '/npm/package/rsshub',
radar: [
{
source: ['www.npmjs.com/package/:name'],
},
],
handler,
};