Just the core parts of noVNC
OTHER License
This is the result of running the following command on noVNC:
./utils/use_require.js --as commonjs
Updates are automatically published weekly (as necessary, when my computer is on) using noVNC-core-autopublish.
To install:
$ npm install --save novnc-core
To use:
import RFB from 'novnc-core'
/*
try {
var rfb = new RFB(document.getElementById('noVNC-canvas'), url);
} catch (exc) {
console.log('Unable to create RFB client -- ' + exc, 'error');
return;
}
/* Listen for updates by attaching event listeners for the following events:
* connect
* disconnect
* credentialsrequired
* securityfailure
* clipboard
* bell
* desktopname
* capabilities
*/
// Full documentation can be found at https://github.com/novnc/noVNC/blob/35dd3c2299b3e13e2b57a2a34be723fb01014ee3/docs/API.md
See LICENSE.txt for a full accounting of the licensing of the core files. Assume that this repository/package is Copyright (C) 2017-2018 Larry Price under the Mozilla Public License 2.0, but the code itself retains the copyrights listed in the original repository (and LICENSE.txt file).