Skip to main content
Version: 2.8.y

Installation


FirelordJS 烈火君JS

Created by tylim88 License package size github action code coverage GitHub issues vulnerabilities

High Precision Firestore Web Typescript Wrapper, Providing Unparalleled Type Safe and Dev Experience

Modular, Minuscule, Intuitive, Unopinionated, Craftsmanship, Ultimate, Peaceful, Deep

Of The VFQAT      ||      By The VFQAT      ||       For The VFQAT

Be The Master Of Your Fire, Be Firelord

Beyond Typing


Release Notes

caution

require Typescript 5.4.2+, Firebase 10+ and @firebase/rules-unit-testing 3+

Always install FirelordJS v2.CURRENT.LATEST.

Web

npm i firebase firelordjs
npm i -D @firebase/rules-unit-testing typescript

Admin

npm i firebase-admin firelord
npm i -D typescript

Typescript Configuration

tsconfig.json
{
// ...other configs
"compilerOptions": {
// ...other options
"strict": true, // compulsory
"noUncheckedIndexedAccess": true, // compulsory
"exactOptionalPropertyTypes": true // optional and does not affect how Firelord works but recommended
}
}

VS Code Configuration

Optional but recommended.

VS Code will always use project Typescript.

VS Code configuration