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

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

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