Socket
Book a DemoInstallSign in
Socket

@neo4j-cypher/language-support

Package Overview
Dependencies
Maintainers
2
Versions
307
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo4j-cypher/language-support

Cypher language support

2.0.0-canary-7154e94
Source
npmnpm
Version published
Maintainers
2
Created
Source

Language Support

This package contains the core language support features for Cypher built with ANTLR4.

Usage

The API is not yet properly documented, but here are two simple examples of what you can do!

npm install @neo4j-cypher/language-support@next

import {
  autocomplete,
  validateSyntax,
  DbSchema,
} from '@neo4j-cypher/language-support';

const schema: DbSchema = { labels: ['Person'] };

autocomplete('MATCH (n:', schema); // yields CompletionItem[] containing "Person"

validateSyntax('RETRN 123', schema); // yields SyntaxDiagnostic[] with Invalid keyword, did you mean RETURN?

Keywords

neo4j

FAQs

Package last updated on 16 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.