Local Data
SheetJS is a JavaScript library for reading and writing data from spreadsheets.
There is no standard cross-platform approach to read and write files and data.
The readFile
1 and writeFile
2 methods rely on platform-specific APIs to
perform the file read and write operations.
Many platforms do not support the techniques used by readFile
and writeFile
but offer other methods. Typically those methods process Uint8Array
objects or
binary strings and play nice with the read
3 and write
4 methods.
Demos in this section cover common local APIs:
- Local File Access - Reading and writing files using various platform APIs
- Web SQL Database - Reading and writing data in an in-browser SQL database
- Local Storage API - Reading and writing data in an in-browser Key-Value store
- Clipboard Data - Reading and writing data and files in the clipboard
- IndexedDB API - Reading and writing data in an in-browser NoSQL database
The desktop and mobile demos cover APIs for iOS, Android, Windows, macOS and Linux applications.