# ES6 samples

This directory contains plain ES6 module examples demonstrating basic usage of the Dynamsoft Barcode Reader in vanilla JavaScript (ES6 modules).

**Included examples**

- scan-using-foundational-api/ — Plain ES6 page using foundational API.
- scan-using-rtu-api/ — ES6 page using RTU API.

## Quick start

1. Change to the example directory (or open repository root).
2. Serve files with a local static server and open the HTML page (e.g., python -m http.server or npx http-server).

## Notes

- ES6 modules require serving over HTTP; opening files directly in the browser may not work.
- See the repository root README.md for general usage and license information.