Socket
Socket
Sign inDemoInstall

@doodle3d/doodle3d-api

Package Overview
Dependencies
3
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @doodle3d/doodle3d-api

Doodle3D API for communication with the Doodle3D WiFi-Box


Version published
Weekly downloads
3
Maintainers
2
Install size
4.49 MB
Created
Weekly downloads
 

Readme

Source

Doodle3D-API

Doodle3D API for communication with the Doodle3D WiFi-Box

import { Doodle3DManager } from 'Doodle3D/Doodle3D-API';

const doodle3DManager = new Doodle3DManager();

doodle3DManager.addEventListener('boxappeared', ({box}) => {
  box.addEventListener('connect', (event) => {
  });

  box.addEventListener('disconnect', (event) => {
  });

  box.addEventListener('update', (event) => {
    const status = event.state;
  });

  box.setAutoUpdate(true, 1000);
});

doodle3DManager.setAutoUpdate(true, 1000);

FAQs

Last updated on 31 Jan 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc