Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nottimtam/jtf
- Owner: NotTimTam
- License: mit
- Created: 2024-04-18T21:07:52.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-17T18:55:27.000Z (4 months ago)
- Last Synced: 2024-10-30T13:45:38.932Z (about 2 months ago)
- Topics: file, fileformat, javascript, json, jtf, spreadsheet, table, utility
- Homepage: https://www.npmjs.com/package/@nottimtam/jtf
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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.