New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gram-data/gram-identity

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.2.17 to 0.2.18

8

package.json

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

],
"version": "0.2.17",
"version": "0.2.18",
"license": "MIT",

@@ -52,3 +52,3 @@ "repository": {

"devDependencies": {
"@gram-data/gram-parse": "^0.2.17",
"@gram-data/gram-parse": "^0.2.18",
"@types/jest": "^26.0.15",

@@ -70,3 +70,3 @@ "@types/shortid": "^0.0.29",

"dependencies": {
"@gram-data/gram-ast": "^0.2.15",
"@gram-data/gram-ast": "^0.2.18",
"nanoid": "^3.1.18",

@@ -80,3 +80,3 @@ "unified": "^9.2.0",

},
"gitHead": "6e144ffd57cde1b4a8da67e3a636c9160875f2b1"
"gitHead": "3f14810a45eb375bef4c583130123f6fa1ec1e0b"
}

@@ -1,4 +0,29 @@

# Gram Identity
`(ast)-[identify]->(ast)`
Utilities for establishing or transforming the identity
of elements in a Gram AST.
Collection of identity generating functions and an AST
processing plugin which applies identity to any paths
which have none.
## How to gram-identity
### Install:
``` bash
npm install @gram-data/gram-builder
```
### Build an AST:
``` TypeScript
import { node, edge } from '@gram-data/gram-builder';
const left = node('a');
const right = node('b');
const ast = edge([left, right], 'right');
```
## Next Steps
- Enrich record properties with js objects using [[gram-value]]
- Serializes 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