[FR] Modular Import Support for Firebase Admin SDK
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js, typescript
Research direction
Start by reviewing the existing firebase-admin/firestore entry point and comparing it with the frontend Firebase modular API described in the issue. The work is done when the Admin SDK supports the requested modular imports and server and frontend code can be shared as intended.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
The current Firebase Admin JS SDK does not support modular imports similar to the frontend Firebase SDK. For example, in the frontend SDK, I can use modular imports like:
import { doc, getDoc } from "firebase/firestore";
Describe the solution you'd like
I would like the Firebase Admin SDK to support modular imports similar to the frontend SDK. For example:
import { doc, getDoc } from "firebase-admin/firestore";
This would align the Admin SDK with the frontend SDK’s modular API and provide a more consistent developer experience.
Describe alternatives you've considered
Creating a custom wrapper around the Admin SDK to mimic modular imports. However, this adds unnecessary complexity and maintenance overhead.
Additional context
We'd like to share code between server and frontend.
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 419
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 16
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/firebase-admin-node
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
firebase/firebase-admin-node#3234 ·
-
firebase/firebase-admin-node#3221 · 3 comments · 1 assignee ·
-
api: messaging
Difficulty 3/5 1-2 days Newbie friendliness 70/100
firebase/firebase-admin-node#3215 ·
-
api: messaging
Difficulty 5/5 Over a week Newbie friendliness 28/100
firebase/firebase-admin-node#3214 ·
-
api: firestore type: feature request
firebase/firebase-admin-node#3183 · 1 comment · 1 assignee ·
All issues in firebase/firebase-admin-node
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
AOSSIE-Org/DebateAI#582 · 2 comments ·