# @neo4j-cypher/language-support

> Cypher language support

Latest version **2.0.0-next.6** (published 2024-05-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @neo4j-cypher/language-support
pnpm add @neo4j-cypher/language-support
yarn add @neo4j-cypher/language-support
bun add @neo4j-cypher/language-support
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; large bundle.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.0-next.6 |
| Published | 2024-05-03 |
| First published | 2023-10-25 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.18.2 |
| Dependencies | 4 |
| Unpacked size | 123.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 52 |
| Author | Neo4j Inc. |
| Maintainers | neo4j-bloom-reader2, neo4j-organization |
| Keywords | neo4j, cypher, autocompletion, linting, highlighting |

## Links

- npm: https://www.npmjs.com/package/@neo4j-cypher/language-support
- Repository: https://github.com/neo4j/cypher-language-support
- Homepage: https://github.com/neo4j/cypher-language-support#readme
- Issues: https://github.com/neo4j/cypher-language-support/issues
- npm.io page: https://npm.io/package/@neo4j-cypher/language-support

## Dependencies (4)

- [antlr4](https://npm.io/package/antlr4.md) *
- [antlr4-c3](https://npm.io/package/antlr4-c3.md) *
- [fastest-levenshtein](https://npm.io/package/fastest-levenshtein.md) ^1.0.16
- [vscode-languageserver-types](https://npm.io/package/vscode-languageserver-types.md) ^3.17.3

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 2.0.0-next.6 (latest) — 2024-05-03
- 0.0.0-canary-20260914093956 (canary) — 2026-09-14
- 2.0.0-next.37 (next) — 2026-08-19
- 0.0.0-canary-20260911022656 — 2026-09-11
- 0.0.0-canary-20260910145642 — 2026-09-10
- 0.0.0-canary-20260910023020 — 2026-09-10
- 0.0.0-canary-20260909151255 — 2026-09-09
- 0.0.0-canary-20260909082937 — 2026-09-09
- 0.0.0-canary-20260909023117 — 2026-09-09
- 0.0.0-canary-20260908092418 — 2026-09-08
- 0.0.0-canary-20260908062951 — 2026-09-08
- 0.0.0-canary-20260908023056 — 2026-09-08
- 0.0.0-canary-20260907023044 — 2026-09-07
- 0.0.0-canary-20260904090349 — 2026-09-04
- 0.0.0-canary-20260904023147 — 2026-09-04
- … 540 more at https://npm.io/package/@neo4j-cypher/language-support/versions

## README

# 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`

```typescript
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?
```

---
_Source: https://npm.io/package/@neo4j-cypher/language-support · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
