remote.it client
JavaScript/node remote.it client library
Install
npm install --save remote.it
Usage
import setup from 'remote.it'
const r3 = setup({
})
await r3.user.login('username', 'password')
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
nvm install
nvm use
npm install
npm test
npm start