Crates.io | dprint-plugin-typescript |
lib.rs | dprint-plugin-typescript |
version | 0.93.2 |
source | src |
created_at | 2020-01-15 04:11:49.778187 |
updated_at | 2024-11-04 20:02:58.09255 |
description | TypeScript and JavaScript code formatter. |
homepage | https://github.com/dprint/dprint-plugin-typescript |
repository | https://github.com/dprint/dprint-plugin-typescript |
max_upload_size | |
id | 198495 |
size | 1,090,063 |
TypeScript formatting plugin for dprint.
This uses the swc parser for TypeScript written in Rust (it's super fast).
See the GitHub releases.
The tests are in the ./tests/specs
folder. To run the tests, run cargo test
.
You may wish to try out the plugin by building from source:
cargo build --target wasm32-unknown-unknown --release --features "wasm"
./target/wasm32-unknown-unknown/release/dprint_plugin_typescript.wasm
in a dprint configuration file.