# taplytics-node

> Taplytics Node SDK (unofficial)

Latest version **0.1.0** (published 2017-02-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install taplytics-node
pnpm add taplytics-node
yarn add taplytics-node
bun add taplytics-node
```

## 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.1.0 |
| Published | 2017-02-24 |
| First published | 2017-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nima Gardideh |
| Maintainers | nimsical |
| Keywords | taplytics, a/b, testing, push, notifications, node |

## Links

- npm: https://www.npmjs.com/package/taplytics-node
- Repository: https://github.com/nemo/taplytics-node
- Homepage: https://github.com/nemo/taplytics-node#readme
- Issues: https://github.com/nemo/taplytics-node/issues
- npm.io page: https://npm.io/package/taplytics-node

## Dependencies (1)

- [node-rest-client](https://npm.io/package/node-rest-client.md) ^2.5.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2017-02-24

## README

# Taplytics Node SDK

Currently only supports [push notifications](https://rest-docs.taplytics.com/#push-notifications).

## Usage

```javascript
const Taplytics = require('taplytics-node');
const client = new Taplytics({
  api_token: 'API_TOKEN'
})


// Send a notification
client.push.post({}, {
  notification: {
    alert: 'hello!'
  }
})
.then(() => console.log('success!'))
.catch((err) => console.error(err));

// Get notifications

client.push.get()
.then((pushes) => console.log(pushes))
.catch((err) => console.error(err));
```

## License
MIT

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