# nzero-push

> ZeroPush is a simple service for sending Push Notifications (Apple & Google). This library wraps the API requests for use in NodeJS.

Latest version **2.2.0** (published 2015-12-26) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install nzero-push
pnpm add nzero-push
yarn add nzero-push
bun add nzero-push
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.2.0 |
| Published | 2015-12-26 |
| First published | 2014-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Lenny Ticks |
| Maintainers | igorissen, linitix |
| Keywords | wrapper, api, zeropush, zero, push, restapi, rest, ios, mac, safari, notification, android, gcm |

## Links

- npm: https://www.npmjs.com/package/nzero-push
- Repository: https://github.com/linitix/nzero-push
- Issues: https://github.com/linitix/nzero-push/issues
- npm.io page: https://npm.io/package/nzero-push

## Dependencies (7)

- [clone](https://npm.io/package/clone.md) ^1.0.2
- [debug](https://npm.io/package/debug.md) ^2.2.0
- [request](https://npm.io/package/request.md) ^2.67.0
- [neo-async](https://npm.io/package/neo-async.md) ^1.7.1
- [http-status](https://npm.io/package/http-status.md) ^0.2.0
- [is-my-json-valid](https://npm.io/package/is-my-json-valid.md) ^2.12.3
- [parse-link-header](https://npm.io/package/parse-link-header.md) ^0.4.1

## Recent versions

- 2.2.0 (latest) — 2015-12-26
- 2.1.2 — 2015-05-12
- 2.1.1 — 2015-05-05
- 2.1.0 — 2015-05-04
- 2.0.0 — 2015-05-04
- 1.3.2 — 2015-04-16
- 1.3.1 — 2015-03-18
- 1.3.0 — 2015-02-26
- 1.2.1 — 2014-12-30
- 1.2.0 — 2014-12-16
- 1.1.0 — 2014-12-16
- 1.0.2 — 2014-12-16
- 1.0.1 — 2014-12-16
- 1.0.0 — 2014-12-01
- 1.0.0-alpha-1 — 2014-09-01
- … 5 more at https://npm.io/package/nzero-push/versions

## README

# nzero-push

[![NPM version](https://img.shields.io/npm/v/nzero-push.svg?style=flat-square)](http://badge.fury.io/js/nzero-push)
[![Dependency Status](https://img.shields.io/david/linitix/nzero-push.svg?style=flat-square)](https://david-dm.org/linitix/nzero-push)
[![License](https://img.shields.io/npm/l/nzero-push.svg?style=flat-square)]()
[![NPM Downloads](https://img.shields.io/npm/dm/nzero-push.svg?style=flat-square)]()
[![Code Climate](https://img.shields.io/codeclimate/github/linitix/nzero-push.svg?style=flat-square)](https://codeclimate.com/github/linitix/nzero-push)

## Description

ZeroPush is a simple service for sending Push Notifications (Apple & Google). This library wraps the API requests for use in NodeJS.

## Changes log

See [changes log](CHANGES_LOG.md).

## Contributors

See [contributors](https://github.com/linitix/nzero-push/graphs/contributors).

## License

See [license](LICENSE).

## Available endpoints

* `/notify` : Sends a notification to a list of device tokens.
* `/register` : Registers a device and/or updates the devices active status or unregisters a previously registered device token.
* `/unregister` : Unregisters a previously registered device token.
* `/inactive_tokens` : Returns an array of device tokens along with the time each token was marked inactive.
* `/set_badge` : Sets a device's badge number to a given value.
* `/broadcast/:channel` : Sends a notification to all registered and active devices in specified channel.
* `/devices[/:device_token]` : Get all, one or update device(s) details.
* `/channels[/:channel_name]` : Get all, one or delete channel(s).

## Full documentation

See the [wiki](https://github.com/linitix/nzero-push/wiki) for full documentation about module API.

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