
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@lemasc/firebase-wrapper
Advanced tools
This library provides a minimum, tree-shakable API that wraps various functions of the Firebase SDKs (as needed by the RianArai project) and make sure that it's compatiable with both namespaced version (currently on React Native) and modular version (on t
This library provides a minimum, tree-shakable API that wraps various functions of the Firebase SDKs (as needed by the RianArai project) and make sure that it's compatiable with both namespaced version (currently on React Native) and modular version (on the web).
Install the library first.
npm install @lemasc/firebase-wrapper
This library adds compatibilty while preserving tree shaking benefits by using resolve extensions and module alias.
Depending on your framework and tools, this configuration might be different.
This library already provides support for React Native. By default we expect that you use
react-native-firebase
(Namespaced version) on mobilefirebase
(Modular version) on the WebIf you are using these dependencies, you are ready! Skip to the Usage section and it should work out of the box.
import { initializeApp, getApps, getApp } from "@lemasc/firebase-wrapper/app";
import {
getAuth,
// Most functions should also worked!
signInWithCredential
} from "@lemasc/firebase-wrapper/app"
// Your firebase config here.
const firebaseConfig = { ... }
const app = !getApps().length ? initializeApp(firebaseConfig) : getApp()
const auth = getAuth(app)
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
This library provides a minimum, tree-shakable API that wraps various functions of the Firebase SDKs (as needed by the RianArai project) and make sure that it's compatiable with both namespaced version (currently on React Native) and modular version (on t
We found that @lemasc/firebase-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.