256 releases (95 breaking)
new 0.95.8 | Jun 23, 2025 |
---|---|
0.95.5 | May 28, 2025 |
0.94.0 | Feb 27, 2025 |
0.93.3 | Nov 26, 2024 |
0.9.8 | Mar 29, 2020 |
#105 in Text processing
14,816 downloads per month
Used in 34 crates
(23 directly)
565KB
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.wasm
in a dprint configuration file.
Dependencies
~12–24MB
~307K SLoC