This web server component provides a web interface to simple USB stick operations.
yarn install
yarn test
yarn start
This scanner module provides the following API:
GET /usbstick/status
-- returns whether a USB stick is present or not:
{present: true}
POST /usbstick/eject
-- ejects a USB stick if present
{success: true}