dprint-node provides a Node.js API for the dprint TypeScript and JavaScript code formatter. It lets developers format code by passing a file path and code to `dprint.format`, with optional formatter configuration options.
Project status
- The last upstream push for devongovett/dprint-node was 2023-09-15, and there have been no updates since, so it appears quiet or dormant as of today (2026-08-12), not actively maintained.
- Apparent update cadence is irregular and infrequent, with updates in 2022-08 (v1.0.6 and v1.0.7) and then a later update in 2023-09 (v1.0.8), followed by a long gap.
AI summary generated
Recent updates
v1.0.8
Release v1.0.8 contains no publisher-provided release notes. The code changes indicate a refactor of the Node API wrapper (src/lib.rs) plus major upgrades to the underlying dprint Rust libraries, which can materially change formatting and configuration resolution behavior.
Breakingv1.0.7
Release v1.0.7 includes a small set of changes: a TypeScript declaration change in options.d.ts, a workflow adjustment in tag-release.yml, and a package version bump. The provided release notes contain no documented details, so the code changes are the primary source of truth.
v1.0.6
v1.0.6 was released, but no release notes were provided by the publisher. The code diff shows updates to the underlying dprint Rust crates, a change in the Rust formatting result handling, and an expanded/changed TypeScript option schema.
Featuresv1.0.5
Release v1.0.5 primarily fixes missing TypeScript type declarations in the npm package. The change is implemented via package.json publishing additional .d.ts files, plus a small adjustment to the build scripts.
v1.0.4
The v1.0.4 release notes are not provided, but the actual diff shows changes centered around build tooling and dependency/toolchain updates. CI workflow configuration was adjusted (new container image and extra build tool installation), and the npm build scripts were modified in a way that likely changes what artifacts are produced.
v1.0.3
v1.0.3 upgrades the embedded dprint formatter stack and migrates the Node native addon from napi-rs v1 to v2, with the stated goal of fixing an Apple Silicon crash. The code diff also adds autogenerated TypeScript type definitions for the formatter options and changes how the native addon exports and calls the Rust formatter entrypoint.
Featuresv1.0.2
Release v1.0.2 updates the native Rust module build configuration and introduces a macOS-specific global memory allocator (jemalloc). There are also CI/build flag adjustments for macOS builds and some performance benchmark number updates in the README.
v1.0.1
Release v1.0.1 makes a small update to the npm package contents configuration and adjusts the GitHub Actions workflow used to prepare release artifacts. No release notes were provided for this version, so the actual behavior changes are inferred from the code diff.
v1.0.0
This release (v1.0.0) does not include any publisher-provided release notes. As a result, there is no documented information about new features, breaking changes, bug fixes, security updates, or migration steps.