Socket
Socket
Sign inDemoInstall

baby-connect

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baby-connect

API for communicating with Baby Connect


Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

Baby Connect API

A library for interacting with Baby Connect.

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())
.then(() => console.log('saved!'));

Supported Actions

  • kid.startSleeping()
  • kid.stopSleeping()
  • 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.

FAQs

Package last updated on 12 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc