Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[FR] add listDatabases() to admin SDK

Open
#2,607 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
node.js, typescript
Domain
api, databases

Research direction

No file or test is named in the issue. Start by tracing the existing listCollections() implementation and comparing it with the firebase firestore:databases:list CLI behavior; the work is done when the admin SDK exposes listDatabases() for a Firestore project and returns its databases.

Written by the indexing model from the issue text.

Description

needs-triage type: feature request

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'm building an app that connects to user's firestore database and I have no way of fetching the databases they already use in their project. listCollections() is a method that comes in very handy to do something similar on a lower level.

Describe the solution you'd like
A clear and concise description of what you want to happen.
listDatabases() should return a list of the databases for a certain db object that corresponds to a firestore project.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Maybe there's a way I can get this to work in my node environment with the cli command firebase firestore:databases:list but not sure how...

Additional context
Add any other context, code samples or screenshots about the feature request here.

Dominant language
TypeScript
Stars
1.7k
Forks
419
Avg merge
4d 20h
Merged PRs (30d)
16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-node

All issues in firebase/firebase-admin-node

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.