Skip to main content

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 readFile1 and writeFile2 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 read3 and write4 methods.

Demos in this section cover common local APIs:

The desktop and mobile demos cover APIs for iOS, Android, Windows, macOS and Linux applications.

Footnotes

  1. See readFile in "Reading Files"

  2. See writeFile in "Writing Files"

  3. See read in "Reading Files"

  4. See write in "Writing Files"