Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

create-nx-fhir

Latest version: v0.3.3

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: bstewartlg
0 Stars
0 Forks
4 Versions
534 Downloads
TypeScript Repo language

Scan summary

create-nx-fhir was last scanned on 24 Nov 2026 at version 0.3.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 0.3.3.
  • Downloads: 534 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.3 LATEST 24 Nov 2026 No rules fired
0.3.2 26 Oct 2026 No rules fired
0.3.1 25 Oct 2026 No rules fired
0.3.0 17 Aug 2026 Not shown

No rules fired in 0.3.3

Findings

Findings for v0.3.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

create-nx-fhir

This CLI tool scaffolds an Nx monorepo pre-configured with the nx-fhir plugin, ready for building FHIR servers and frontends.

Quick Start

Create a new workspace with a single command:

npx create-nx-fhir@latest my-fhir-app

This will:

  • Create a new Nx workspace
  • Install the nx-fhir plugin
  • Optionally generate a HAPI FHIR server (you'll be prompted)

Usage

Basic Usage
npx create-nx-fhir@latest

You'll be prompted for:

  1. Workspace directory - Name of your new workspace, or . to initialize the current directory (for example inside an existing HAPI FHIR server)
  2. Generate FHIR server - Whether to create a server immediately
With Options

Specify options directly to skip prompts:

npx create-nx-fhir@latest my-fhir-app --server --packageManager=npm

Options

[name]

The workspace directory name (positional argument).

npx create-nx-fhir@latest my-healthcare-app
--directory <name>

Alternative way to specify the workspace directory.

npx create-nx-fhir@latest --directory=my-healthcare-app
--server

Whether to generate a FHIR server automatically.

  • --server or --server=true - Generate a server
  • --server=false - Skip server generation
  • Omit option - You'll be prompted
npx create-nx-fhir@latest my-app --server
--packageManager <pm>

Package manager to use. Options: bun, npm.

Default: bun (falls back to npm if bun is unavailable)

npx create-nx-fhir@latest my-app --packageManager=npm
FHIR Server Options

If you're generating a server, you can customize it with these options:

--serverDirectory <path>

Directory for the server source code.

Default: server

npx create-nx-fhir@latest my-app --server --serverDirectory=backend
--packageBase <package>

Java package path for custom server code.

Default: org.custom.server

npx create-nx-fhir@latest my-app --server --packageBase=com.myorg.fhir
--fhirVersion <version>

FHIR version for the server. Options: STU3, R4, R4B, R5.

Default: R4

npx create-nx-fhir@latest my-app --server --fhirVersion=R4
--release <version>

Specific HAPI FHIR JPA Starter release version (for example 8.12.0-2).

npx create-nx-fhir@latest my-app --server --release=8.12.0-2
--verbose

Enable verbose logging for debugging.

npx create-nx-fhir@latest my-app --verbose
--help, -h

Display help information.

npx create-nx-fhir@latest --help

Use in an Existing Directory

To add Nx and nx-fhir to an existing project directory, pass . as the directory name:

cd my-existing-project
npx create-nx-fhir@latest .

This will:

  • Create package.json and nx.json if they don't exist
  • Install nx, @nx/devkit, and nx-fhir as dev dependencies
  • Run the nx-fhir preset generator

A directory that runs Nx through the Nx wrapper is converted. create-nx-fhir . moves the plugins from the installation block of nx.json into a package.json, installs them, and removes the wrapper files .nx/nxw.js, nx, and nx.bat.

Other existing files are preserved. If the directory already contains a HAPI FHIR JPA Starter server, it is detected and imported as an Nx project (only a project.json is added) instead of generating a new server. The HAPI release and FHIR version are auto-detected from pom.xml and application.yaml. You can also set this up manually:

bun add --dev nx @nx/devkit nx-fhir
# Create nx.json with: { "plugins": ["nx-fhir"] }
bunx nx g nx-fhir:server
bunx nx g nx-fhir:frontend

Examples

Minimal Setup

Create a workspace without a server:

npx create-nx-fhir@latest my-app --server=false

Then generate projects later:

cd my-app
nx g nx-fhir:server
nx g nx-fhir:frontend --template=clinical

The frontend generator supports browser and clinical templates. See the nx-fhir README for details.

Requirements

  • Node.js: Version 20 or higher
    • (Optional) bun is the preferred default runtime and package manager
  • Package Manager: npm (always available) or bun (optional)
  • Java: JDK 17 or higher (required if generating FHIR server)
  • Maven: For building Java server projects (required if generating FHIR server)

Documentation

This plugin makes use of several external projects. For more information, please refer to their documentation:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm create-nx-fhir

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229