photo-snapper
v1.1.3
Published
A package that allows you to take photo on the web
Downloads
5
Readme
Photo Snapper
A npm package that allows users to take photos directly from the web and save it on their computers. Future functionality will allow users to edit and modify their photos directly from the browser. Also allows user to toggle camera if used in a mobile web browser. You can test it out here: https://photo-snapper.herokuapp.com/.
Installation guide:
Make sure you have npm
installed on your computer. Execute the following command to get photo-snapper:
npm i photo-snapper
<main id="camera"></main>
<script src="index.js"></script>
You can change css styling inside style.css
.
Compatibility
For Desktop:
Mobile:
Features
- Allows users to take photo directly through a web browser
- Uses adapter software design pattern to create a polyfill such that the camera can work on mobile phone
- Allows users to directly edit their photos through the web browser and safe on their browsers (in progress).