remote.it.js
JavaScript/node remote.it client library
Install
npm install --save remote.it
Usage
import setup from 'remote.it'
const r3 = setup({
})
r3.user
.login('username', 'password')
.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
nvm install
nvm use
npm install
npm test
npm start
Contribution
Pull requests welcome! Please format your code using Prettier (npm run prettier
) and lint with TSLint (npm run lint
). Thanks!