5.4.1 • Published 2 years ago

firebase-functions-extended v5.4.1

Weekly downloads
30
License
ISC
Repository
github
Last release
2 years ago

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 publish 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!

Note: undefined properties are converted to null by firebase. Instead of using .optional(), use .nullable() or .nullish(). This last one is better as you may not declare the props (and they will be undefined) in question or pass undefined (that will turn to null).

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.

Usage

In your client, use firebase-functions-extended-client to call the functions.

Roadmap

  • Write this README
5.4.1

2 years ago

5.4.0

3 years ago

5.3.0

3 years ago

5.2.0

3 years ago

5.1.0

3 years ago

5.0.0

3 years ago

4.0.2

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago