Skip to content

dprint/dprint-plugin-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 14, 2025
1be9f0d · Feb 14, 2025
Apr 14, 2024
Sep 18, 2024
Jan 14, 2024
Nov 26, 2024
Nov 26, 2024
May 20, 2022
Jun 15, 2020
Jan 8, 2024
Feb 8, 2022
Feb 14, 2025
Feb 14, 2025
Feb 13, 2022
Jun 26, 2022
Jan 8, 2024
Oct 28, 2024

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.