feathers-mongodb-management-ts
v2.1.0
Published
MongoDB management helpers for Feathers v5 with TypeScript
Downloads
361
Maintainers
Readme
feathers-mongodb-management-ts
Package TypeScript pour exposer des services d’administration MongoDB dans une application FeathersJS v5 Dove.
Cette version fournit un socle d’administration MongoDB réutilisable, avec routes Feathers dédiées, pagination, services dynamiques par base/collection, et options simples de contrôle d’accès.
Fonctionnalités
Services disponibles
GET /mongo/databasesGET /mongo/:db/collectionsGET /mongo/users
Outils d’administration MongoDB
GET /mongo/:db/statsGET /mongo/:db/:collection/indexesGET /mongo/:db/:collection/countGET /mongo/:db/:collection/schemaGET /mongo/:db/:collection/documentsPOST /mongo/:db/:collection/aggregate
Capacités
- compatible FeathersJS v5 Dove
- compatible TypeScript
- build ESM + CJS
- pagination de type Feathers sur les listes
- services dynamiques par
:dbet:collection - filtrage simple côté query
- restrictions possibles via allowlist/blocklist :
- bases autorisées/interdites
- collections autorisées/interdites
Installation
Avec pnpm :
pnpm add feathers-mongodb-management-ts