Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.05 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.05 KB

Overview

This repo is just a simple mirror of https://github.com/apache/guacamole-client/tree/master/guacamole-common-js
Only the js part of the guacamole-client repository is included here to publish it to npmjs

It does automatically download the sources from guacamole's GitHub repo and builds a CommonJS, ES Module and a plain js build.

This package doesn't add or change anything about guacamole-common-js
It just packages and publishes it, so one can use it easily in a npm project

For more detailed documentation of the API etc. have a look at https://guacamole.apache.org/doc/gug/guacamole-common-js.html

NPM publish instructions

git clone git@github.com:panfiva/guacamole-common-js.git
yarn install
yarn build
npm publish --access public

Usage instructions

Install required modules

yarn add @panfiva/guacamole-common-js
yarn add @types/guacamole-common-js

Create typescript declarations

// guacamole-common-js.d.ts
declare module '@panfiva/guacamole-common-js' {
  export * from '@types/guacamole-common-js'
}