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.43.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

remote.it.js

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`
r3.user
  .login('username', 'password')

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

Notes

  • You must use either 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!

Examples

Please see /examples for some examples of how to use remote.it.js.

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

Contribution

Pull requests welcome! Please format your code using Prettier (npm run prettier) and lint with TSLint (npm run lint). Thanks!

Keywords

FAQs

Package last updated on 06 Dec 2019

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