JSPM

firelord

2.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1106
  • Score
    100M100P100Q103742F
  • License MIT

🔥 Write V9 like Firestore Admin code with extreme type safety.

Package Exports

  • firelord
  • firelord/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (firelord) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Firelord 烈火君

Created by tylim88   License   dependency count   package size   github action   code coverage   GitHub issues   code coverage   Total alerts   Language grade: JavaScript

Extremely High Precision Typescript Wrapper for Firestore Admin, Providing Unparalleled Type Safe and Dev Experience

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

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

End Firestore Typing Madness


Support emulator

Note

This library updated from v0 to v1, v0 is not compatible with v1.

This change is necessary as v1 corrected a lot of issues in v0.

The v0 documentation can still be found here.

Why Do You Need This? What Problems Firelord Solves?

Read here at FirelordJS.

About

This wrapper wrap around admin Firestore V8 interface(There is no V9 for admin version) and turn it into type safe V9 interface.

The API is basically same as the web version, both web and admin version basically share the same documentation.

It does not become modular like the web version, but this is ok because we don't care about package size in back end.

The ultimate goal is to unify the knowledge of back end and front end, so we don't need to learn both V9 and V8 and most importantly: absolute type safe.

It is not possible to unified platform specific API, good thing is most of these APIs are mutually exclusive.

Have Questions?

Just Ask

Note: FirelordJS and Firelord sharing the same discussion space.

Contributing

Read here

  1. FirelordJS - Typescript wrapper for Firestore Web
  2. FirelordRN - Typescript wrapper for Firestore React Native
  3. FireLaw - Write Firestore security rule with Typescript, utilizing Firelord type engine.
  4. FireCall - Helper Function to write easier and safer Firebase onCall function.
  5. FireSageJS - Typescript wrapper for Realtime Database