npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aehrc/ecl-lsp-server

v1.1.2

Published

LSP server for SNOMED CT Expression Constraint Language

Readme

ecl-lsp-server

Language Server Protocol (LSP) server for SNOMED CT Expression Constraint Language (ECL) 2.2. Provides diagnostics, completion, hover, formatting, code actions, code lens, and semantic tokens.

Built on ecl-core — this package is a thin LSP adapter that maps core types to the LSP protocol.

Install

npm install -g ecl-lsp-server

Usage

ecl-lsp-server --stdio

The server communicates over stdio using the LSP protocol. Connect it to any LSP-capable editor.

LSP Capabilities

| Capability | Description | | ----------------------------------- | ------------------------------------------------------------------------------------ | | textDocument/diagnostics | Syntax errors, inactive/unknown concept warnings, semantic validation | | textDocument/completion | Context-aware operators, keywords, filter values, SNOMED CT concept search, snippets | | textDocument/hover | Operator documentation, concept information (FSN, PT, active status) | | textDocument/formatting | Document formatting with 9 configurable options | | textDocument/rangeFormatting | Format a selection | | textDocument/codeAction | 8 refactoring actions (strip/add terms, simplify, parentheses, history, filter) | | textDocument/codeLens | "Evaluate" lens above each expression with inline result count | | textDocument/semanticTokens | Token-level highlighting | | Custom: ecl/searchConcept | SNOMED CT concept search via FHIR | | Custom: ecl/getSnomedEditions | List available SNOMED CT editions | | Custom: ecl/resolvedSnomedVersion | Notification when SNOMED version is resolved |

Configuration

The server reads settings from workspace/configuration requests under the ecl namespace.

Terminology

| Setting | Default | Description | | ------------------------------- | ------------------------------------- | ----------------------------- | | ecl.terminology.serverUrl | https://tx.ontoserver.csiro.au/fhir | FHIR terminology server URL | | ecl.terminology.timeout | 2000 | Concept lookup timeout (ms) | | ecl.terminology.snomedVersion | "" (server default) | SNOMED CT edition/version URI |

Semantic Validation

| Setting | Default | Description | | -------------------------------- | ------- | -------------------------------------------------------------------------------------- | | ecl.semanticValidation.enabled | true | Enable semantic validation (attribute scope, value constraints, empty sub-expressions) |

Evaluation

| Setting | Default | Description | | ---------------------------- | ------- | -------------------------------------------------------------- | | ecl.evaluation.resultLimit | 200 | Max concepts returned when evaluating an expression (1–10,000) |

Formatting

| Setting | Default | Description | | --------------------------------------- | ------- | ------------------------------------------- | | ecl.formatting.indentSize | 2 | Spaces per indent level (1–8) | | ecl.formatting.indentStyle | space | space or tab | | ecl.formatting.spaceAroundOperators | true | Spaces around AND/OR/MINUS | | ecl.formatting.maxLineLength | 80 | Line length before breaking (0 = unlimited) | | ecl.formatting.alignTerms | true | Vertically align term pipes | | ecl.formatting.wrapComments | false | Wrap long line comments | | ecl.formatting.breakOnOperators | false | Newline before AND/OR/MINUS | | ecl.formatting.breakOnRefinementComma | false | Newline after refinement commas | | ecl.formatting.breakAfterColon | false | Newline after refinement colon |

IDE Clients

| Editor | Link | | ------------- | ------------------------------------------------- | | VSCode | clients/vscode | | IntelliJ IDEA | clients/intellij | | Eclipse | clients/eclipse | | Neovim | clients/neovim | | Sublime Text | clients/sublime | | Emacs | clients/emacs | | Claude Code | clients/claude-code |

License

Copyright 2026 Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230

Apache License 2.0 — see LICENSE.