{"id":20896222,"url":"https://github.com/waitingsong/modern-webcamjs","last_synced_at":"2025-05-13T00:31:42.563Z","repository":{"id":57300552,"uuid":"104070041","full_name":"waitingsong/modern-webcamjs","owner":"waitingsong","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-19T12:01:23.000Z","size":115,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T16:59:02.824Z","etag":null,"topics":["es6","getusermedia","webcamera"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waitingsong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-19T12:09:00.000Z","updated_at":"2020-03-12T14:15:29.000Z","dependencies_parsed_at":"2022-09-10T09:02:30.529Z","dependency_job_id":null,"html_url":"https://github.com/waitingsong/modern-webcamjs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fmodern-webcamjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fmodern-webcamjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fmodern-webcamjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waitingsong%2Fmodern-webcamjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waitingsong","download_url":"https://codeload.github.com/waitingsong/modern-webcamjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225159948,"owners_count":17430226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["es6","getusermedia","webcamera"],"created_at":"2024-11-18T10:34:22.970Z","updated_at":"2024-11-18T10:34:23.686Z","avatar_url":"https://github.com/waitingsong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modern-WebcamJS\nA JavaScript library for capturing still images from camera(s) via modern browsers.\n\n[![Version](https://img.shields.io/npm/v/modern-webcamjs.svg)](https://www.npmjs.com/package/modern-webcamjs)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n## What can I do with this?\nModern-WebcamJS is a JavaScript library for capturing still images from camera(s) attached by your computer, and delivering them to you as JPEG or PNG [Data URIs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).  The images data also can be [objectURL](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL) .  It uses [HTML5 getUserMedia](http://dev.w3.org/2011/webrtc/editor/getusermedia.html), so only modern browser such as FireFox, Chrome, Edge which supports navigator.mediaDevices.getUserMedia of HTML5 API supported.\n\n## Installing\n```powershell\nnpm install --save modern-webcamjs\n```\n\n## DEMO:\n- basic: https://webcam.waitingsong.com/basic.html\n- basic async/await: https://webcam.waitingsong.com/basic_await.html\n- large: https://webcam.waitingsong.com/large.html\n- capture: https://webcam.waitingsong.com/auto_capture.html\n- capture options: https://webcam.waitingsong.com/snap_opts.html\n- capture objectURL: https://webcam.waitingsong.com/snap_objecturl.html\n- dynamic capture options: https://webcam.waitingsong.com/dynamic_snap_opts.html\n- multiple camera: https://webcam.waitingsong.com/multi_camera.html\n- custome sidx: https://webcam.waitingsong.com/custome_sidx.html\n- double preview: https://webcam.waitingsong.com/double_preview.html\n- white list: https://webcam.waitingsong.com/camera_whitelist.html\n\n\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaitingsong%2Fmodern-webcamjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaitingsong%2Fmodern-webcamjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaitingsong%2Fmodern-webcamjs/lists"}