{"_id":"@cameratag/photobooth","_rev":"5-634be0528ea36efbfe7455d53d1c51c9","name":"@cameratag/photobooth","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@cameratag/photobooth","version":"0.1.0","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/photobooth@0.1.0","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"0988ff46e8778411d9799d7a3339d02693475406","tarball":"https://registry.npmjs.org/@cameratag/photobooth/-/photobooth-0.1.0.tgz","fileCount":3,"integrity":"sha512-dVMaJ3diP1whOjeO4VOODvFzDzy5T4JkigHzH3/9XmVe4jo++On8fuBvLxlw5JLShcs7VimtCTiNOdwiHLjICw==","signatures":[{"sig":"MEQCIEVjYMR1i1q+IFS4ABNbvHYvnoWbHNG6IF14luUj4XFrAiAJCm82TvP0QnK9L8AkUZLw5z2ujbeGU8MpNZYWFehrXg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":421698},"main":"photobooth.js","gitHead":"c835ddb9089c461a7c90bf493f6bafcb9fbd6b36","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"9.5.0","description":"CameraTag's photo booth module aka the <photobooth>. Allow your users to record or capture pictures from a webcam or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/photobooth_0.1.0_1744335134455_0.977043324773802","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cameratag/photobooth","version":"0.1.1","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/photobooth@0.1.1","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"e4945f57eefa237dbecdf0e4d5afcae5bbe136d7","tarball":"https://registry.npmjs.org/@cameratag/photobooth/-/photobooth-0.1.1.tgz","fileCount":3,"integrity":"sha512-vi03ups8lbV3Oklbx3DJGBQ+DPLVNwHYgo8sivvjqguo1Gp/Ul/WBaR2F5Vxqq2LqiM0kqKlWaAanW7tMURbmw==","signatures":[{"sig":"MEYCIQDDBKm/vLbtVSXr6uv2p3KFTW/kn9KnmA/Z2ekvz0xwQQIhAOQr96P4hi9yrzGM5aSZ9TfIUeAZVpEXnMNoLZh1N720","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":421698},"main":"photobooth.js","gitHead":"c835ddb9089c461a7c90bf493f6bafcb9fbd6b36","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"9.5.0","description":"CameraTag's photo booth module aka the <photobooth>. Allow your users to record or capture pictures from a webcam or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/photobooth_0.1.1_1744335466251_0.4479067595789914","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cameratag/photobooth","version":"0.1.2","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/photobooth@0.1.2","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"eb7ae783cae83f499fdf196c4c8fb7059cc8264b","tarball":"https://registry.npmjs.org/@cameratag/photobooth/-/photobooth-0.1.2.tgz","fileCount":3,"integrity":"sha512-CFaHfMUDfJUM5nbb9UEi/3Bh1ir1zCv70+wbOWquhX0PM9JnGHsAfH2azLDf3ZwZnuqHaRonXobsBKgwQeRU2A==","signatures":[{"sig":"MEUCIDRqfdyVehZaTllXFFvlr9OH4j2DnKOmZ88COxeCepJ3AiEAt7RRtZbPi+zBntYknkc6ZgCVAK4xx0mvooYFJIUHGbI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":424163},"main":"photobooth.js","gitHead":"c835ddb9089c461a7c90bf493f6bafcb9fbd6b36","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"9.5.0","description":"CameraTag's photo booth module aka the <photobooth>. Allow your users to record or capture pictures from a webcam or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/photobooth_0.1.2_1744370861678_0.3739857495293022","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cameratag/photobooth","version":"0.1.3","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"author":{"name":"Chris Danzig"},"license":"UNLICENSED","_id":"@cameratag/photobooth@0.1.3","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"dist":{"shasum":"0ba058b9a0703d578d12db0cedea4ee30fbf5569","tarball":"https://registry.npmjs.org/@cameratag/photobooth/-/photobooth-0.1.3.tgz","fileCount":3,"integrity":"sha512-jjqCQ5m+GHJ+dOaKPNRAs6mRHpqw2lSdWCMKYtEg8/bp+DCCzlwObDTGNuvKBRchTehvfgfwjwlhqIqR7nK5pA==","signatures":[{"sig":"MEYCIQDoP9YbaP7nobPQFfdDS9T52ixcaW7b+b3PjOEmWarXCwIhAJ5aBXd+tZgbbABZai96lICLoombMjs4BmLXqevpSExE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":426490},"main":"photobooth.js","gitHead":"273f28e84520ae8888201eeaf481b0f499e51aad","scripts":{"test":""},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"_npmVersion":"9.5.0","description":"CameraTag's photo booth module aka the <photobooth>. Allow your users to record or capture pictures from a webcam or mobile device. Requires a CameraTag account.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/photobooth_0.1.3_1749591527418_0.7861848421115023","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@cameratag/photobooth","version":"0.1.4","description":"CameraTag's photo booth module aka the <photobooth>. Allow your users to record or capture pictures from a webcam or mobile device. Requires a CameraTag account.","main":"photobooth.js","scripts":{"test":""},"author":{"name":"Chris Danzig"},"keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"license":"UNLICENSED","_id":"@cameratag/photobooth@0.1.4","gitHead":"273f28e84520ae8888201eeaf481b0f499e51aad","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-s+2btMok8yjhiO53CiWq5VgzLX7Eb1pXeaFvM0SsVDKoV0dO9FzFY4YrbAG+SbV0tBfZuJB3fzyWqrweGAqpeg==","shasum":"808a2db81375d71493914e58dbbb1d049cfe0db1","tarball":"https://registry.npmjs.org/@cameratag/photobooth/-/photobooth-0.1.4.tgz","fileCount":3,"unpackedSize":426900,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFTpR22/BFM2lM0jp9wFQNbnZn2ZEXXSMqGsYSCi8MxRAiBpQ8oru4YM+cCPI+fVsfZePmUJRIZrfEInlf7NnQoEOw=="}]},"_npmUser":{"name":"cdanzig","email":"chris@danzigmedia.com"},"directories":{},"maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/photobooth_0.1.4_1759928028100_0.056082461548979445"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-11T01:32:14.331Z","modified":"2025-10-08T12:53:48.505Z","0.1.0":"2025-04-11T01:32:14.641Z","0.1.1":"2025-04-11T01:37:46.441Z","0.1.2":"2025-04-11T11:27:41.847Z","0.1.3":"2025-06-10T21:38:47.622Z","0.1.4":"2025-10-08T12:53:48.323Z"},"author":{"name":"Chris Danzig"},"license":"UNLICENSED","keywords":["video","recorder","cameratag","webrtc","upload","transcoding","player"],"description":"CameraTag's photo booth module aka the <photobooth>. Allow your users to record or capture pictures from a webcam or mobile device. Requires a CameraTag account.","maintainers":[{"name":"cdanzig","email":"chris@danzigmedia.com"}],"readme":"# CameraTag's Photo Booth\nThis library allows you to embed a CameraTag &lt;photobooth> in your product. \n\n## Initialize A Booth\n'Magically' initialize your booth using HTML\n```html\n<photobooth\n  id='myFirstBooth'\n  data-app-id='a-6793d070-dbac-013b-f57a-529b7d4fe95c'>\n</photobooth>\n\n<script>\n  CameraTagPhotobooth.setup(); // Scan DOM for new <photobooth> tags \n  // if you need to access the newly initialized &lt:photobooth> \n  // you can get a handle with.\n  myBooth = CameraTagPhotobooth.instances[\"myFistBooth\"];\n</script>\n```\n\n\nManually initialize your booth using JS\n```html\n<div id=\"load_booth_here\"></div>\n<script>\n  CameraTagPhotobooth = require(\"@cameratag/photobooth\");\n  var el = document.getElementById(\"load_booth_here\");\n  var myBooth = new CameraTagPhotobooth();\n  myBooth.init(el {\n    id: 'myFirstBooth'\n    appUuid: 'a-6793d070-dbac-013b-f57a-529b7d4fe95c', \n  })\n<script>\n```\n\n## Control The Booth\nYou can control your &lt;photobooth> with methods from our [JS API](https://www.cameratag.com/docs) \n\nAfter you get a handle on a &lt;photobooth> you can call methods on it like so:\n```js\nmyBooth.takePicture();\n```\n\n## Observe The Booth\nYou can also observe events fired by the &lt;photobooth> and trigger your own code. View our [our docs](https://www.cameratag.com/docs)  to see the full list of events fired from the &lt;photobooth>\n```js\nmyBooth.ovbserve(\"photoTaken\", function(){\n  console.log(\"Great pic!\")\n});\n```","readmeFilename":"README.md"}