Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gram-data/gram-builder

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gram-data/gram-builder - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

6

package.json

@@ -8,3 +8,3 @@ {

],
"version": "0.2.7",
"version": "0.2.8",
"license": "MIT",

@@ -68,5 +68,5 @@ "repository": {

"dependencies": {
"@gram-data/gram-ast": "^0.2.7"
"@gram-data/gram-ast": "^0.2.8"
},
"gitHead": "68f323250363f0ab629388565880339d5c94ed5e",
"gitHead": "3d28a7b7186d406e75bfd22aac54cd1b4ba0dbfa",
"publishConfig": {

@@ -73,0 +73,0 @@ "access": "public"

@@ -1,5 +0,25 @@

# Gram Builder
From nothing to a valid gram AST.
Build valid syntax trees that represent data graphs.
## How to gram-builder
### Install:
```
npm install @gram-data/gram-builder
```
### Build an AST using [[gram-builder]]:
```
import { node, edge } from '@gram-data/gram-builder';
const left = node('a');
const right = node('b');
const ast = edge([left, right], 'right');
```
## Next Steps
- Transform to js objects using [[gram-value]]
- Write back to a string using [[gram-stringify]]
- Introspect the AST using [[gram-ast]]
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc