{"_id":"@bouncedinc/opentok-annotation","_rev":"4-e72e55f293d25b24661eb6e7115139fa","name":"@bouncedinc/opentok-annotation","dist-tags":{"latest":"2.0.63"},"versions":{"2.0.60":{"name":"@bouncedinc/opentok-annotation","version":"2.0.60","description":"OpenTok annotation accelerator pack","main":"dist/opentok-annotation.js","directories":{"test":"test"},"scripts":{"build:css":"npm-css css/annotation.css -o dist/annotation.css","build:js":"concat -o dist/opentok-annotation.js src/* && uglifyjs dist/opentok-annotation.js -o dist/opentok-annotation.min.js","build:images":"cp -r images/ dist/images/","build:logversion":"replace '(js-vsol-)(x.y.z)' '$1'$npm_package_version dist/*","build":"mkdir -p dist && npm run build:js & npm run build:css & npm run build:images && npm run build:logversion","test":"karma start"},"keywords":["opentok","annotation","annotations","opentok-acc-pack","screen-sharing","audio/video"],"author":{"name":"adrice727@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/opentok/accelerator-annotation-js.git"},"devDependencies":{"babel-plugin-espower":"^2.3.2","babelify":"^7.3.0","browserify":"^14.1.0","chai":"^3.5.0","concat":"^3.0.0","eslint":"^3.18.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.10.2","karma":"^1.7.1","karma-browserify":"^5.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-html2js-preprocessor":"^1.1.0","karma-mocha":"^1.3.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^0.2.2","karma-sauce-launcher":"^1.2.0","karma-sinon":"^1.0.4","merge-stream":"^1.0.0","mocha":"^3.5.3","npm-css":"^0.2.3","replace":"^0.3.0","rimraf":"^2.4.3","sinon":"^1.17.0","uglify-js":"^2.8.15","watchify":"^3.9.0","yuidocjs":"^0.9.0"},"dependencies":{"jquery":"^3.1.0","opentok-solutions-logging":"^1.0.6","underscore":"^1.8.3"},"bugs":{"url":"https://github.com/opentok/accelerator-annotation-js/issues"},"homepage":"https://github.com/opentok/accelerator-annotation-js#readme","gitHead":"b73cbcedb7231c9933a07a709702651685c5b591","_id":"@bouncedinc/opentok-annotation@2.0.60","_shasum":"257b88faf18a439e8013845352160d01f5486a4e","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"francescov1","email":"francescod.virga@gmail.com"},"dist":{"shasum":"257b88faf18a439e8013845352160d01f5486a4e","tarball":"https://registry.npmjs.org/@bouncedinc/opentok-annotation/-/opentok-annotation-2.0.60.tgz","integrity":"sha512-W+PmoPuQcigOQ87VrpGnk60LSlqCJraJJulZUqHqbCJAqHlTUgQctstvL+l3upNkOLuWX9o1k3shPTGiDcRyPw==","fileCount":42,"unpackedSize":202883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0FXlCRA9TVsSAnZWagAAUuEP/R/IPGduLXYBjjeJo4Eh\nC2jhfQK1tO7VdcHml4NBxt1ElrLVVzbynxdATNIvHshetjbW2O5cjdTkHKkb\nNVVjXB2BmwhwsUGfaSFJFKiFTl+Gup7VSBwTIwIx566x48kQc7jAF8+sZL0k\nq8acNVs6nX3UmxGwK2pPwECg3SmN+uRtG7hf1sF45tHjxESHny1FYa0XrIGk\nv3gUJ4AS3ipTUdlFDr6tHRcJrQp5MrUoEYLhWthmlWmpct5GbIptRVmqZ/pD\nksOZKJ3Lq+LowIqzMl1yvn9qA5jVuWvKK1z45cUMaJxBJ4pkiHLShntA5Ffu\nAwCj1y19EHoT13kMX0sKm/lMZlIMyakwKEfmgVraf4yvF1jx2SWa+f9uHyOf\nppl6SHzUn1Atp3ZoRtmO69aoQ1s/9dvhAbBZKoHBtLXRT7mEn1LYvoojXDV+\nDe7IUQBFIlIVMcPmgoGnom1Zt5uzpiR9/wRCxtcPpH/liQomJI2IsjCEqQFP\nBFKFFFvhjp/YBM6y+2ywNahfD3KwLIprbaHEJxuMQBJFHCqdo4fngnowbA/J\nHZ/57E19WIx2/Npqcbict4BEx4ljc+gw0Alh7sn5bJ3v/KoiBMDC9H3AtRY8\nRNl3MNobhgkNiWjPzR4tpw3ft8iJZCAhb2mmcNdRbjmm4s5o+5lfBTVkRj27\nIG7E\r\n=8q0Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFO34TnYHGBgt8GSj52cItAuUj23fywhd1c8TcRRGuxuAiBxM1XA1UBmbhLGC1cLC4F1dS5l/oy2JUwuv13yqY095Q=="}]},"maintainers":[{"name":"francescov1","email":"francescod.virga@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentok-annotation_2.0.60_1590711781350_0.528979001156026"},"_hasShrinkwrap":false},"2.0.61":{"name":"@bouncedinc/opentok-annotation","version":"2.0.61","description":"OpenTok annotation accelerator pack","main":"dist/opentok-annotation.js","directories":{"test":"test"},"scripts":{"build:css":"npm-css css/annotation.css -o dist/annotation.css","build:js":"concat -o dist/opentok-annotation.js src/* && uglifyjs dist/opentok-annotation.js -o dist/opentok-annotation.min.js","build:images":"cp -r images/ dist/images/","build:logversion":"replace '(js-vsol-)(x.y.z)' '$1'$npm_package_version dist/*","build":"mkdir -p dist && npm run build:js & npm run build:css & npm run build:images && npm run build:logversion","test":"karma start"},"keywords":["opentok","annotation","annotations","opentok-acc-pack","screen-sharing","audio/video"],"author":{"name":"adrice727@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/opentok/accelerator-annotation-js.git"},"devDependencies":{"babel-plugin-espower":"^2.3.2","babelify":"^7.3.0","browserify":"^14.1.0","chai":"^3.5.0","concat":"^3.0.0","eslint":"^3.18.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.10.2","karma":"^1.7.1","karma-browserify":"^5.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-html2js-preprocessor":"^1.1.0","karma-mocha":"^1.3.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^0.2.2","karma-sauce-launcher":"^1.2.0","karma-sinon":"^1.0.4","merge-stream":"^1.0.0","mocha":"^3.5.3","npm-css":"^0.2.3","replace":"^0.3.0","rimraf":"^2.4.3","sinon":"^1.17.0","uglify-js":"^2.8.15","watchify":"^3.9.0","yuidocjs":"^0.9.0"},"dependencies":{"jquery":"^3.1.0","opentok-solutions-logging":"^1.0.6","underscore":"^1.8.3"},"bugs":{"url":"https://github.com/opentok/accelerator-annotation-js/issues"},"homepage":"https://github.com/opentok/accelerator-annotation-js#readme","gitHead":"89c0670ea8e88f972319a30fc9545a26711e8ec9","_id":"@bouncedinc/opentok-annotation@2.0.61","_shasum":"b71568b651a650e037b824816c204c15fa8c46d6","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"francescov1","email":"francescod.virga@gmail.com"},"dist":{"shasum":"b71568b651a650e037b824816c204c15fa8c46d6","tarball":"https://registry.npmjs.org/@bouncedinc/opentok-annotation/-/opentok-annotation-2.0.61.tgz","integrity":"sha512-7PNI+7cTun4SxyTRzUe2AkKO56Hr5KzbMWHz6KHX5KiY7mmNaGgdeZ7Xu0tk+h2SBTRP+6EzZ5YOrruKq1xyQA==","fileCount":62,"unpackedSize":397583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0F8ZCRA9TVsSAnZWagAAQXQP/1ofs3wQIJyMtD1TPwIt\np1cqPoOrA+aiZkHeijPmb5yNv5OtARmLvp/hbs9iT2lc+S2uFQKRPCrzlMDF\nnt1YqmVy87UfIzpp22Aaa5H+TdA7wSMmeHPwJzVb/hBI0Slkw/u2RjlYC5Qa\nNOI7skaGejULnGNcmJ4dTA5Q2oCPnOlyidJyWexEFQc7IbS/WUX92dcu6QLY\nw6wCTuBitCktqAmDf+lKwSM11b5Jluld7vyCD3GvczBNjjU0nynZwTa85hE5\nmkeeNY0rJ/XNTjYrvQd3rMLV0ZMScVKWVs7ZoYiOAr5tB3heYraV8UVh3nGi\nmYn61avRfAd2Ss4ejVuI/VFx2ll4/qUULira/2XEtFkpaTln1lobOEO9hudU\nG4U/N8DaaKvbQj37CO5Q0SV9aBZqJmfHlBN2dfLNbNF9nVDMUjE8YfJ5JsZ3\nybAmSQJG1wSLp6b172Ikdm9awPK8VrrUgWNI/oLxezeZVicic6RJrLgGO51j\nOGjQ/dDEPE+eunyY7PEVeuj0NZq/aruO61nJZBX/Yug5/9RWonP+wMcJbHaj\nK3lV8aXO+NQlUwAca3iLbVKN7VucN1YS3FHNf2wBh2VnJgihsHApTPmlG4z6\nNmnOYI7hteNM0LHpk5FptqDLSF8znqlNuStAgYkEuHbiqLfS+wuSxXjPQaGC\n9ZFm\r\n=HlUR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHdkMM7W0VLKavbqcLmzR15prkrbBVx/vTbTCBODQDxAIgCj8SCPYVJRK4Fu52rfJ2DO4IZt1NQ0RPQT+T2u6mRyY="}]},"maintainers":[{"name":"francescov1","email":"francescod.virga@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentok-annotation_2.0.61_1590714136516_0.22099475114961264"},"_hasShrinkwrap":false},"2.0.62":{"name":"@bouncedinc/opentok-annotation","version":"2.0.62","description":"OpenTok annotation accelerator pack","main":"dist/opentok-annotation.js","directories":{"test":"test"},"scripts":{"build:css":"npm-css css/annotation.css -o dist/annotation.css","build:js":"concat -o dist/opentok-annotation.js src/* && uglifyjs dist/opentok-annotation.js -o dist/opentok-annotation.min.js","build:images":"cp -r images/ dist/images/","build:logversion":"replace '(js-vsol-)(x.y.z)' '$1'$npm_package_version dist/*","build":"mkdir -p dist && npm run build:js & npm run build:css & npm run build:images && npm run build:logversion","test":"karma start"},"keywords":["opentok","annotation","annotations","opentok-acc-pack","screen-sharing","audio/video"],"author":{"name":"adrice727@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/opentok/accelerator-annotation-js.git"},"devDependencies":{"babel-plugin-espower":"^2.3.2","babelify":"^7.3.0","browserify":"^14.1.0","chai":"^3.5.0","concat":"^3.0.0","eslint":"^3.18.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.10.2","karma":"^1.7.1","karma-browserify":"^5.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-html2js-preprocessor":"^1.1.0","karma-mocha":"^1.3.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^0.2.2","karma-sauce-launcher":"^1.2.0","karma-sinon":"^1.0.4","merge-stream":"^1.0.0","mocha":"^3.5.3","npm-css":"^0.2.3","replace":"^0.3.0","rimraf":"^2.4.3","sinon":"^1.17.0","uglify-js":"^2.8.15","watchify":"^3.9.0","yuidocjs":"^0.9.0"},"dependencies":{"jquery":"^3.1.0","opentok-solutions-logging":"^1.0.6","underscore":"^1.8.3"},"bugs":{"url":"https://github.com/opentok/accelerator-annotation-js/issues"},"homepage":"https://github.com/opentok/accelerator-annotation-js#readme","gitHead":"1a3ffb52aafa212a4497206f603ef70a23e9c15c","_id":"@bouncedinc/opentok-annotation@2.0.62","_shasum":"b9a2b7df5831247d25896b754e58b319a86ffeef","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"francescov1","email":"francescod.virga@gmail.com"},"dist":{"shasum":"b9a2b7df5831247d25896b754e58b319a86ffeef","tarball":"https://registry.npmjs.org/@bouncedinc/opentok-annotation/-/opentok-annotation-2.0.62.tgz","integrity":"sha512-RoubQCtOmGPEgQfOs7o0cgYVNbftMusVL3BpGok0iDwVbuLwbQKbtc33MKr/5U0RJZRuWO7MxC9yMlyaSFgX2w==","fileCount":62,"unpackedSize":397585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0F+CCRA9TVsSAnZWagAAFc8P/jaFDNxIwEIQzenMM6VD\nRmpq4F5dAWFE2HZDlue9vwXNwMW1rXRTFFlUon2tjCjUWn/w46L7DvTBq/0k\nCjl3Z8j6ROmAadofVH/r6p0PLatWCO2mni3a6CYsPEl291/sjlkAZNtkMZX9\n4cMtSRcUYkG3jo6fvBNiEU3Sdx1zJ7sxYpq0HUlch7LQERcBhoF9+4EBTfDe\ntu+eJqxRS+Ye67QGVyz/RnxOxMEBjMYnq3IFtWpihF2sU4499lBKixpdzmlS\nBDVCRAGALZm9TS9JyzoMF5ES3r3xpKO1mmi3Aqpez4PFgAVpGZjfe1ae3Y0h\nLQ0HUPbJn/rdr9h1O6PGLn1xCVRxzGB584VidrXXPUDbfCMfJJzD7ckvnEHD\nCtAKI+MKUYEnv5dsYpBvzFHe5+YZ4ZC87NFO8CCAqaDUesuRh3jmlzGiWT9X\n3joLLbGoCbLKPVTzt+g3fAEYj7+tLBa71ynKMvKt6Y5mJw/HWKnukZ1aACN8\nHnUxSeqOt/8fhebznEzD/+DOgZZIb8FlrV1QwisT1vrU3pxxruRqBHHKc79D\nztY1TyEj0aAq61tPS+/nUg4HNjrN382EOpeMrezg4tgj6dvM2nHzQQ2KDEdV\n947VUqIGqe6gxzbD/TpRzRhlzCchD4SB/+7hbYwstqfiJrJl/bRdj8EC37El\nv25H\r\n=imfA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi526hj7S4fqYK/h8BgWjfERe9W49ac85dA2C44JPkIAIgOM8q7bS9ywdxqkuJiJtWdW0jvtCysR9g8rAxRwed3lo="}]},"maintainers":[{"name":"francescov1","email":"francescod.virga@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentok-annotation_2.0.62_1590714241784_0.3804269802671083"},"_hasShrinkwrap":false},"2.0.63":{"name":"@bouncedinc/opentok-annotation","version":"2.0.63","description":"OpenTok annotation accelerator pack","main":"dist/opentok-annotation.js","directories":{"test":"test"},"scripts":{"build:css":"npm-css css/annotation.css -o dist/annotation.css","build:js":"concat -o dist/opentok-annotation.js src/* && uglifyjs dist/opentok-annotation.js -o dist/opentok-annotation.min.js","build:images":"cp -r images/ dist/images/","build:logversion":"replace '(js-vsol-)(x.y.z)' '$1'$npm_package_version dist/*","build":"mkdir -p dist && npm run build:js & npm run build:css & npm run build:images && npm run build:logversion","test":"karma start"},"keywords":["opentok","annotation","annotations","opentok-acc-pack","screen-sharing","audio/video"],"author":{"name":"adrice727@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/opentok/accelerator-annotation-js.git"},"devDependencies":{"babel-plugin-espower":"^2.3.2","babelify":"^7.3.0","browserify":"^14.1.0","chai":"^3.5.0","concat":"^3.0.0","eslint":"^3.18.0","eslint-config-airbnb":"^14.1.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^3.0.2","eslint-plugin-react":"^6.10.2","karma":"^1.7.1","karma-browserify":"^5.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.1","karma-firefox-launcher":"^1.0.1","karma-html2js-preprocessor":"^1.1.0","karma-mocha":"^1.3.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^0.2.2","karma-sauce-launcher":"^1.2.0","karma-sinon":"^1.0.4","merge-stream":"^1.0.0","mocha":"^3.5.3","npm-css":"^0.2.3","replace":"^0.3.0","rimraf":"^2.4.3","sinon":"^1.17.0","uglify-js":"^2.8.15","watchify":"^3.9.0","yuidocjs":"^0.9.0"},"dependencies":{"jquery":"^3.1.0","opentok-solutions-logging":"^1.0.6","underscore":"^1.8.3"},"bugs":{"url":"https://github.com/opentok/accelerator-annotation-js/issues"},"homepage":"https://github.com/opentok/accelerator-annotation-js#readme","gitHead":"883cb9f8c5507930539eb04e2981ac7e1ff162c7","_id":"@bouncedinc/opentok-annotation@2.0.63","_shasum":"f3f692eb830904c4aca2dfcaa1bed6325cec5c41","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"francescov1","email":"francescod.virga@gmail.com"},"dist":{"shasum":"f3f692eb830904c4aca2dfcaa1bed6325cec5c41","tarball":"https://registry.npmjs.org/@bouncedinc/opentok-annotation/-/opentok-annotation-2.0.63.tgz","integrity":"sha512-u/Ehuioou1QIj540YOAr7lMmLIdctEb6QFtXw/V/5SPAEMBAoQs8//bMMDGFCpFncPJaRSDgqjb9jyheMkLL8Q==","fileCount":62,"unpackedSize":397583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0ThmCRA9TVsSAnZWagAAjVYP/1ESEMO4pRCGXNFHJVAt\nUFci70cZQSdcdfZUleqmRIXlfQr4DXEhYxC/XpzCqK1POOeCUmfjFlU4f+o2\n0+VwGOAiXds60XCap2mQTpGA4hraUEF14OdI7FDJoP+JhHmT16RLmTEkMAe4\nZ76YabYDFSJuoPg0+K2T/SP1QskWtXJX01tGVcsibO9O4tNq0BtOizBDbKUq\nS0j/aZ4kgO9XR/YS2YKBe2eGRoOxpCbpv/rCktHylwZMb5j+xbKxixdZ9dVi\nnelcg91zW2va97uF5/VzscUOCgWQOVE/cCzN71PUySok6TIgPLGiL4OWhchp\n9HliVPFo1oGRr8NBeFt1gHieLMqjEafQi0B6U91AzFvNMfNczpKj0CBMx+BS\nU+yjFpCiUau3kEIj8masJQu/HsE4haCEP5zcLATJZ1cPn+ssb0QUwZXKWn1o\nxr8kTc/lt8nfKjnXvnrJ8TXdskRJdWQlEDtJtVc6sgECMnkaNTd+uJvr/0K7\n0QIk+E/YMG1b+YWms8aMqkQMgVXGtGE70wXFdgm0HPNFZnD3XicTbOeYsrjN\nejBmzR1fI71b0tN33UqpuBaz3h1W/Hjb9PBi2KLdAbQAeHgTktp8/FNvu5Ky\ntKugH1fnOLLMd5k0XUREXjLIk8Cj/xilofSkhiXA9grMzBDecOob+v6W2Eoy\nlaa2\r\n=+k9z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoAr0FnBk1KyNGvbJE7nd6VTMfKA24I/BZHC2vEaQQvQIhAPucJgggFFFcWIQxtdkbu6AqkzL0KrBhjfIA1m+zbtHf"}]},"maintainers":[{"name":"francescov1","email":"francescod.virga@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/opentok-annotation_2.0.63_1590769765860_0.869704935533814"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-29T00:23:01.091Z","2.0.60":"2020-05-29T00:23:01.625Z","modified":"2022-04-04T20:15:54.470Z","2.0.61":"2020-05-29T01:02:16.665Z","2.0.62":"2020-05-29T01:04:02.018Z","2.0.63":"2020-05-29T16:29:25.953Z"},"maintainers":[{"name":"francescov1","email":"francescod.virga@gmail.com"}],"description":"OpenTok annotation accelerator pack","homepage":"https://github.com/opentok/accelerator-annotation-js#readme","keywords":["opentok","annotation","annotations","opentok-acc-pack","screen-sharing","audio/video"],"repository":{"type":"git","url":"git+https://github.com/opentok/accelerator-annotation-js.git"},"author":{"name":"adrice727@gmail.com"},"bugs":{"url":"https://github.com/opentok/accelerator-annotation-js/issues"},"license":"MIT","readme":"![OpenTok Labs](https://d26dzxoao6i3hh.cloudfront.net/items/0U1R0a0e2g1E361H0x3c/Image%202017-11-22%20at%2012.16.38%20PM.png?v=2507a2df)\n\n##### Disclaimer: Please keep in mind that this is an OpenTok Labs project which means that it's not officially supported by TokBox.\n\n# Accelerator Annotation for JavaScript<br/>\n\n[![Build Status](https://travis-ci.org/opentok/accelerator-annotation-js.svg?branch=master)](https://travis-ci.org/opentok/accelerator-annotation-js)\n[![GitHub release](https://img.shields.io/github/release/opentok/accelerator-annotation-js.svg)](./README.md)\n[![license MIT](https://img.shields.io/github/license/opentok/accelerator-annotation-js.svg)](./LICENSE)\n[![npm](https://img.shields.io/npm/v/opentok-annotation.svg)](https://www.npmjs.com/package/opentok-annotation)\n\n\n## Quick start\n\nThe OpenTok Accelerator Annotation provides functionality you can add to your OpenTok applications that enables users to have the ability to annotate on a local or remote screen.\nThis section shows you how to prepare and use the OpenTok Annotations Accelerator Pack as part of an application.\n\n## Install\n\n```bash\n$ npm install --save opentok-annotation\n```\nIf using browserify or webpack:\n```javascript\nconst annotation = require('opentok-annotation');\n```\nOtherwise, include the accelerator pack in your html:\n```html\n<script src=\"../your/path/to/opentok-annotation.js\"></script>\n```\n . . . and it will be available in global scope as `AnnotationAccPack`\n \n-----------------\n\nClick [here](https://www.npmjs.com/search?q=opentok-acc-pack) for a list of all OpenTok accelerator packs.\n\n## Explore the code\n\nThe following `options` fields are used in the `AnnotationAccPack` constructor:<br/>\n\n| Feature        | Field  | Required |\n| ------------- | ------------- | -----|\n| Set the OpenTok session  (object).| `session` |`true`|\n| Set the Common layer API (object) - Automatically set if using [Core](https://github.com/opentok/accelerator-core-js). | `accPack` |`false`|\n| Set the callback to receive the image data on screen capture (function). | `onScreenCapture` |`false`|\n\nTo initialize the accelerator pack:\n\n```javascript\nvar annotation = new annotationAccPack(options);\n```\nOnce initialized, the following methods are available:\n\n### `start`\n\n*Creates an external window (if required) and links the annotation toolbar to the session.  An external window is ONLY required if sharing the current browser window.*\n\n```javascript\n@param {Object} session\n@param {Object} [options]\n@param {Boolean} [options.screensharing] - Using an external window\n@param {Array} [options.items] - Custom set of tools\n@param {Array} [options.colors] - Custom color palette\n@returns {Promise} < Resolve: undefined | {Object} Reference to external annotation window >\n```\n\n### `linkCanvas`\n\n*Create and link a canvas to the toolbar and session.  See notes about [resizing the canvas](#resizing-canvas) below*\n\n```javascript\n@param {Object} pubSub - Either the publisher(sharing) or subscriber(viewing)\n@param {Object} container - The parent container for the canvas element\n@param {Object} options\n@param {Object} [options.externalWindow] - Reference to the an external annotation window (publisher only)\n@param {Object} [options.absoluteParent] - Reference element for resize if other than container\n```\n\n### `resizeCanvas`\n\n*Trigger a manual resize of the canvas.*\n\n### `addSubscriberToExternalWindow`\n\n*Add a subscriber's video to the external annotation window.*\n\n```javascript\n@param {Object} stream - The subscriber stream object\n```\n\n### `end`\n\n*End annotation, clean up the toolbar and canvas(es)*\n***\n\nThe `AnnotationAccPack`  triggers the following events via the common layer:\n\n| Event        | Description  |\n| ------------- | ------------- |\n| `startAnnotation` | Annotation linked to session and toolbar created.|\n| `linkAnnotation ` | Annotation canvas has been linked to the toolbar. |\n| `resizeCanvas` | The annotation canvas has been resized. |\n| `annotationWindowClosed` (screen sharing only)  | The external annotation window has been closed.|\n| `endAnnotation` | Annotation has ended.  Toolbar and canvases have been cleaned up. |\n\nIf using the common layer, you can subscribe to these events by calling `registerEventListener` on  `_accPack` and providing a callback function:\n\n```javascript\naccPack.registerEventListener('eventName', callback);\n```\n\nIf using the [Accelerator Core](https://github.com/opentok/accelerator-core-js) you can subscribe to these events by calling `on` on  `otCore` and providing a callback function:\n\n```javascript\notCore.on('eventName', callback)\n```\n\n### Best Practices for Resizing the Canvas\n<a name=\"resizing-canvas\"></a>\n\nThe `linkCanvas` method refers to a parent DOM element called the `absoluteParent`.  When resizing the canvas, the annotation accelerator pack also resizes the canvas container element using inline properties.  Because of this, we need another element to reference for dimensions.  For this, we use the `absoluteParent`.\n\n\n### Multiparty video communication sample app using the Screensharing and Accelerator Annotation with best-practices for Javascript [here](https://github.com/opentok/accelerator-sample-apps-js).\n","readmeFilename":"README.md"}