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/fsh-lsp

v0.8.6

Published

Language Server Protocol implementation for FHIR Shorthand (FSH) with syntax highlighting, auto-completion, and HL7 FHIR resource documentation

Readme

FSH Language Server

License GitLab

LispelFisch

A Language Server Protocol (LSP) implementation for FHIR Shorthand (FSH), providing intelligent code editing features for healthcare interoperability development.

Editor Integrations

The FSH Language Server can be used with any LSP-compatible editor:

Each integration is maintained in a separate repository with its own release cycle.

Features

  • Syntax Highlighting: Full syntax highlighting for FHIR Shorthand (FSH) files
  • Go to Definition: Navigate to profile, extension, and instance definitions
  • Path Expression Completion: Intelligent completion for nested FHIR element paths with dot notation (e.g., participant. shows individual, type, etc.)
  • Auto-completion: Intelligent completion for FHIR resources, elements, and FSH keywords
  • Hover Documentation: Show FHIR element types, cardinality, code definitions, and ValueSet bindings
  • Inlay Hints: Display type information inline for assignments
  • Document Symbols: Outline view showing profiles, extensions, instances, and value sets
  • FHIR Type Resolution: Resolves FHIR resource types and element paths
  • Code System Integration: Lookup code definitions from FHIR terminology servers
  • Choice Type Expansion: Automatically expands choice types (e.g., value[x]valueString, valueQuantity, etc.)

Installation

Install the language server:

npm install -g @aehrc/fsh-lsp

Then install the integration for your editor (see Editor Integrations above).

Development

# Install dependencies
cd packages/language-server
npm install

# Build
npm run build

# Watch mode (continuous rebuild)
npm run build:watch

# Run tests
npm test

📖 Full Development Guide — Building, testing, and debugging

Quick Links

Requirements

  • Node.js v16 or later
  • VSCode or compatible LSP client

Links

  • GitLab Repository: https://gitlab.com/australian-e-health-research-centre/fsh-lsp
  • Issue Tracker: https://gitlab.com/australian-e-health-research-centre/fsh-lsp/-/issues
  • FHIR Shorthand Specification: https://build.fhir.org/ig/HL7/fhir-shorthand/
  • Sushi (FSH Compiler): https://fshschool.org/docs/sushi/

Architecture

See ARCHITECTURE.md for detailed architecture documentation.

Key components:

  • FshDefinitionProvider: Go-to-definition functionality
  • FshCompletionProvider: Intelligent autocomplete
  • FshHoverProvider: Documentation on hover
  • FshSymbolProvider: Document outline/symbols
  • FshInlayHintsProvider: Type hints for assignments
  • FhirTypeResolver: FHIR resource and element type resolution
  • FhirDefinitionsLoader: Loads FHIR definitions from packages

Testing

Comprehensive test suite covering all providers:

  • Definition provider tests
  • Completion provider tests
  • Hover provider tests
  • Symbol provider tests
  • Utility function tests

Run tests with: npm test

License

Apache-2.0

Contributing

We welcome contributions! Please see CONTRIBUTING.md for details on how to get started.

Code of Conduct

This project adheres to a Code of Conduct. By participating, you are expected to uphold this code.

Acknowledgements

Developed by CSIRO's Australian e-Health Research Centre (AEHRC).