The Bit class is an event-driven JavaScript class that provides functionality for file uploads, drag-and-drop file management, and UI rendering for file previews. It uses the EventEmitter pattern to handle events and has built-in support for internationalization (i18n).
- Use web-worker for reading files.
- basic validation hook
- improve i18n system
- read large file faster without crashing browser
- drag/drop files
- add additional data (object) to each file to send later with ajax requests.
- implemented basic i18n support
- basic XHR upload func
- Emit basic hooks: getFiles, etc
- Basic system of plugins
See docs.html
yarn test
yarn serve
yarn start
used in euroingro.com