firebase-functions-extended

Extended onCall function for Firebase Cloud Functions

Usage no npm install needed!

<script type="module">
  import firebaseFunctionsExtended from 'https://cdn.skypack.dev/firebase-functions-extended';
</script>

README

Firebase Functions Extended

npm version

An opinionated, abstracted and simplified way to create Google Cloud Functions.

Project is ready and being used in prod and in-dev projects. It's really good and useful for me, but currently I have no will to better prepare it to publicly publishi it.

Implements common functionalities to the Cloud Functions onCall, including schema declaration and validation (using zod), error throwing and better caller information access. Typescript is recommended!

Installation

Install it in your Cloud Functions directory with:

npm i firebase-functions-extended

or

yarn add firebase-functions-extended

It also requires the installation of firebase-functions and zod. Zod v2 beta isn't working right now, use ^v1.

Usage

Roadmap

  • Write this README