# baby-connect-test

> API for communicating with Baby Connect

Latest version **0.0.4** (published 2017-09-23) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install baby-connect-test
pnpm add baby-connect-test
yarn add baby-connect-test
bun add baby-connect-test
```

## 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.0.4 |
| Published | 2017-09-23 |
| First published | 2017-09-23 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | TheOriginalAndrobot |
| Maintainers | androbot |

## Links

- npm: https://www.npmjs.com/package/baby-connect-test
- Repository: https://github.com/theoriginalandrobot/baby-connect
- Homepage: https://github.com/theoriginalandrobot/baby-connect#readme
- Issues: https://github.com/theoriginalandrobot/baby-connect/issues
- npm.io page: https://npm.io/package/baby-connect-test

## Dependencies (2)

- [uuid](https://npm.io/package/uuid.md) ^3.0.1
- [moment](https://npm.io/package/moment.md) ^2.17.1

## Recent versions

- 0.0.4 (latest) — 2017-09-23

## README

# Baby Connect API

A library for interacting with [Baby Connect](https://www.baby-connect.com/).

## Usage

```
const {BabyConnect} = require('baby-connect');
const bc = new BabyConnect(
  'you@example.com', 'hunter2', 'some-unique-device-id'
);
bc.getUser()
.then(user => user.kidByName('Joe'))
.then(kid => kid.startSleeping(new Date()))
.then(() => console.log('saved!'));
```

## Supported Actions

- `kid.startSleeping()`
- `kid.stopSleeping()`
- `kid.dirtyDiaper()`
- `kid.wetDiaper()`
- `kid.dirtyAndWetDiaper()`
- `kid.dryDiaper()`
- `kid.saveStatus(Kid.Category.OTHER, 'Message here')`: other events haven't been filled out yet, but can be accessed via the constants on `Kid.Category`.

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