# @firechecker/express

> Middleware for checking firebase authentication in Express APIs

Latest version **0.2.8** (published 2020-09-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @firechecker/express
pnpm add @firechecker/express
yarn add @firechecker/express
bun add @firechecker/express
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.8 |
| Published | 2020-09-26 |
| First published | 2020-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Gabriel Rufino |
| Maintainers | gabrielrufino |

## Links

- npm: https://www.npmjs.com/package/@firechecker/express
- npm.io page: https://npm.io/package/@firechecker/express

## Dependencies (2)

- [express](https://npm.io/package/express.md) ^4.17.1
- [firebase-admin](https://npm.io/package/firebase-admin.md) ^8.13.0

## Recent versions

- 0.2.8 (latest) — 2020-09-26
- 0.2.7 — 2020-08-19
- 0.2.6 — 2020-06-20
- 0.2.4 — 2020-06-05
- 0.2.3 — 2020-06-05
- 0.2.2 — 2020-06-05
- 0.1.2 — 2020-06-04
- 0.1.1 — 2020-06-04
- 0.1.0 — 2020-06-04
- 0.0.9 — 2020-06-04
- 0.0.8 — 2020-06-04
- 0.0.7 — 2020-06-04
- 0.0.6 — 2020-06-04
- 0.0.5 — 2020-06-04
- 0.0.4 — 2020-06-04
- … 3 more at https://npm.io/package/@firechecker/express/versions

## README

# Firechecker - Express

## Getting started

```
$ npm install --save express firebase-admin @firechecker/express
```

```js
const admin = require('firebase-admin')
const express = require('express')
const firechecker = require('@firechecker/express')

const serviceAccount = require('path/to/serviceAccountKey.json')

admin.initializeApp({
  credential: admin.credential.cert(serviceAccount)
})

const app = express()

app.use(firechecker())

app.get('/', (request, response) => {
  response.status(200).json({
    access: true
  })
})

app.listen(3000)
```

---
_Source: https://npm.io/package/@firechecker/express · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
