# pushmifliminotif

> Notification push by miflimi

Latest version **1.0.2** (published 2023-03-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install pushmifliminotif
pnpm add pushmifliminotif
yarn add pushmifliminotif
bun add pushmifliminotif
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-03-05 |
| First published | 2023-03-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Miflimi |
| Maintainers | miflimi |
| Keywords | pushmifliminotif |

## Links

- npm: https://www.npmjs.com/package/pushmifliminotif
- Repository: https://github.com/Miflimi/pushmifliminotif
- Homepage: https://github.com/Miflimi/pushmifliminotif#readme
- Issues: https://github.com/Miflimi/pushmifliminotif/issues
- npm.io page: https://npm.io/package/pushmifliminotif

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^1.3.4
- [https](https://npm.io/package/https.md) ^1.0.0

## Recent versions

- 1.0.2 (latest) — 2023-03-05
- 1.0.1 — 2023-03-05
- 1.0.0 — 2023-03-05

## README

# pushmifliminotif

A Node.js package for sending push notifications via Firebase Cloud Messaging (FCM) API.

## Installation

```npm
npm i pushmifliminotif
```

```yarn
yarn add pushmifliminotif
```

## Usage

```node js 
const pushNotification = require('pushmifliminotif');

const serverKey = 'YOUR_SERVER_KEY';
const deviceToken = 'DEVICE_TOKEN';
const title = 'New message';
const body = 'You have a new message from John';
const icon = '/images/profile_picture.jpg';
const clickAction = 'https://example.com/messages';

pushNotification.sendNotification(serverKey, deviceToken, title, body, icon, clickAction)
  .then(response => console.log(response))
  .catch(error => console.error(error));
```

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