Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remote.it

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remote.it

remote.it JavaScript/node client library

  • 0.7.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
42
increased by40%
Maintainers
1
Weekly downloads
 
Created
Source

remote.it client

JavaScript/node remote.it client library

Install

npm install --save remote.it

Usage

import setup from 'remote.it'

const r3 = setup({
  // Optional: your developer key
  // developerKey: '...',
  // Optional: an access generated by using your developer key
  // accessKey: '...',
  // Optional: a valid user token to be used for authentication
  // token: '...',
  // Optional: configure what version of the API to use by default.
  // apiURL: 'https://api.remot3.it/apv/v26',
})

// Log the user in and set their `token` and `authHash`
await r3.user.login('username', 'password')

// Get all devices for the given user
r3.devices
  .all()
  .then(console.log)
  .catch(console.error)

Notes

  • You must use an apiKey, accessKey or developerKey to perform user authentication
  • You must log a user in or set the token property (r3.token = '...') to perform user specific tasks via the API.
  • Typescript type definition files are included

Development

# Install the proper node version
nvm install
nvm use

# Install dependencies
npm install

# Test (single run)
npm test

# Watch for changes and automatically run tests and build
npm start

Keywords

FAQs

Package last updated on 14 Oct 2018

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