@gram-data/gram
v0.3.11
Published
Gram is a textual format for data graphs.
Downloads
15
Readme
gram
Gram is a textual format for data graphs.
How to gram
Node.js:
const gram = require('@gram-data/gram');
const src = "(a)-->(b)";
const p = gram.parse(src);
console.log(gram.toGram(p));
TypeScript:
import gram from '@gram-data/gram'
const src = "(a)-->(b)";
const p = gram.parse(src);
console.log(gram.toGram(p));
Vanilla javascript in browser:
- see examples