Skip to content

dprint/dprint-plugin-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 27, 2025
6f500b2 · Feb 27, 2025
Feb 27, 2025
Feb 27, 2025
Jan 14, 2024
Feb 27, 2025
Feb 27, 2025
May 20, 2022
Jun 15, 2020
Jan 8, 2024
Feb 8, 2022
Feb 27, 2025
Feb 27, 2025
Feb 13, 2022
Jun 26, 2022
Jan 8, 2024
Feb 27, 2025

Repository files navigation

dprint-plugin-typescript

CI

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:

  1. Run cargo build --target wasm32-unknown-unknown --release --features "wasm"
  2. Reference the file at ./target/wasm32-unknown-unknown/release/dprint_plugin_typescript.wasm in a dprint configuration file.