Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nottimtam/jtf

JSON Table Format. A file-format for spreadsheets stored in JSON.
https://github.com/nottimtam/jtf

file fileformat javascript json jtf spreadsheet table utility

Last synced: about 2 months ago
JSON representation

JSON Table Format. A file-format for spreadsheets stored in JSON.

Awesome Lists containing this project

README

        

# JTF

JSON Table Format. An open-source file format for spreadsheets stored in JSON.

[Read the syntax standard.](SYNTAX.md)

[View an example JTF file.](example.jtf)

This repository is a hybrid, it contains the standards and information on the `.jtf` file format, as well as an efficient library of tools for interacting with JTF data.

[Read the wiki.](https://github.com/NotTimTam/jtf/wiki)

## Why JTF?

The `.jtf` format is an attempt at bridging the gap between popular spreadsheet file formats and JavaScript. Complex libraries are generally required to parse `.xlsx` files and their equivalents for use in JavaScript. It is even harder to export content back in to those formats. Formats like `.csv` are far too rudimentary and do not support things like styling and formulas.

`.jtf` data is stored in a familiar and readily accessible structure, **JSON!** Making it somewhat readable in its raw state, and requiring only a small amount of code to properly compile it into a table. `.jtf` data can be stored interchangably within JavaScript objects, `.json` files, and `.jtf` files.

It employs an `.xlsx`-based formula system and a JavaScript-friendly easy-to-use cell targeting system.

This library contains methods for validating, reading, and writing `.jtf` format files **with zero dependencies!**

For custom applications, developers looking to support `.jtf` files in their projects are encouraged to write their own code for interacting with the format.

Contributions to the format and codebase are also welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for more.