https://github.com/omegatools/graph
Graph File Encoder / Decoder
https://github.com/omegatools/graph
decoder deno encoder graph-format library module
Last synced: about 1 month ago
JSON representation
Graph File Encoder / Decoder
- Host: GitHub
- URL: https://github.com/omegatools/graph
- Owner: OmegaTools
- License: agpl-3.0
- Created: 2022-11-14T20:19:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-21T08:44:29.000Z (over 3 years ago)
- Last Synced: 2025-02-24T15:43:13.659Z (over 1 year ago)
- Topics: decoder, deno, encoder, graph-format, library, module
- Language: JavaScript
- Homepage: https://deno.land/x/graph
- Size: 125 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Badge Deno]][Deno]
[![Badge Stars]][#]

# GRAPH
*Encoder / Decoder for [.graph] files.*
[![Button Examples]][Examples]
[![Button Documentation]][Documentation]
## Preview
```JavaScript
import * as Graph from 'https://deno.land/x/graph/mod.ts';
```
```JavaScript
const text = await Deno.readTextFile('Example.graph');
const graph = Graph.parse(text);
```
```JavaScript
const text = Graph.stringify(graph);
await Deno.writeTextFile('Example.graph',text);
```
[Documentation]: Documentation
[Examples]: Examples
[License]: LICENSE
[#]: #
[.graph]: https://github.com/temper-studios/graph-file-format
[Deno]: https://deno.land/x/graph
[Badge License]: https://img.shields.io/badge/License-AGPL3-015d93.svg?style=for-the-badge&labelColor=blue
[Badge Stars]: https://img.shields.io/github/stars/OmegaTools/GRAPH?style=for-the-badge&logoColor=white&logo=Trustpilot&labelColor=FF66AA&color=cf538b
[Badge Deno]: https://img.shields.io/badge/-Deno-58a341?style=for-the-badge&logoColor=white&logo=Deno&labelColor=64bc4b
[Button Documentation]: https://img.shields.io/badge/Documentation-04ACE6?style=for-the-badge&logoColor=white&logo=BookStack
[Button Examples]: https://img.shields.io/badge/Examples-64BC4B?style=for-the-badge&logoColor=white&logo=GitBook