262 releases
Uses new Rust 2024
| 0.95.15 | Feb 2, 2026 |
|---|---|
| 0.95.13 | Nov 27, 2025 |
| 0.95.12 | Oct 28, 2025 |
| 0.95.9 | Jul 29, 2025 |
| 0.9.8 | Mar 29, 2020 |
#84 in Template engine
33,278 downloads per month
Used in 35 crates
(23 directly)
570KB
13K
SLoC
dprint-plugin-typescript
TypeScript formatting plugin for dprint.
This uses the swc parser for TypeScript written in Rust (it's super fast).
Install
See the GitHub releases.
Development
The tests are in the ./tests/specs folder. To run the tests, run cargo test.
Building Wasm file
You may wish to try out the plugin by building from source:
- Run
cargo build --target wasm32-unknown-unknown --release --features "wasm" - Reference the file at
./target/wasm32-unknown-unknown/release/dprint_plugin_typescript.wasmin a dprint configuration file.
Dependencies
~16–31MB
~354K SLoC