Skip to content
PluginStats

prettier-plugin-tasm weekly downloads statistics

By weph · npm · Prettier plugins

Prettier plugin for Turbo Assembler (TASM) IDEAL mode syntax

View on npm Fresh · Dec 6, 2026

prettier-plugin-tasm has 14 recorded weekly downloads on npm, a decrease of 93.7% over the past 30 days, ranking #3077 of 3,247 tracked listings.

Weekly downloads
14
Official API · Dec 5, 2026
7-day growth
-22.2%
-4 weekly downloads
30-day growth
-93.7%
-208 weekly downloads
90-day growth
—
Insufficient history
Rank
#3077
▼ 233 in 7 days

About prettier-plugin-tasm

prettier-plugin-tasm

A Prettier plugin for Borland Turbo Assembler (TASM) source in IDEAL mode.

IDEAL
MODEL   small
STACK   100h

DATASEG
Greeting DB     'Hello, world!', 13, 10, '$'

CODESEG
PROC    Main
        mov     ax, @data           ; set up DS
        mov     ds, ax
        mov     ah, 09h
        mov     dx, OFFSET Greeting
        int     21h
        mov     ax, 4C00h           ; exit with code 0
        int     21h
ENDP    Main

END     Main

Disclaimer

I needed a formatter for TASM code and there's apparently no such thing. Because time is scarce and I've got enough on my plate already, I vibe-coded this whole project. And when I say "vibe-coded," I really mean it: I only skimmed the code. I don't think there are many people out there still writing Turbo Assembler IDEAL mode code, but if you're one of them and happen to stumble upon this project, I at least want you to know how it was built.

Installation

npm install --save-dev prettier prettier-plugin-tasm

Add the plugin to your Prettier configuration:

{
    "plugins": ["prettier-plugin-tasm"]
}

Files ending in .asm, .inc and .ash are formatted with the tasm parser. For other extensions, add an override:

{
    "plugins": ["prettier-plugin-tasm"],
    "overrides": [{ "files": "*.s", "options": { "parser": "tasm" } }]
}

Options

OptionCLI flagDefaultDescription
tasmKeywordCase--tasm-keyword-caseupperCase of directives and keyword operators (PROC, DB, PTR)
tasmMnemonicCase--tasm-mnemonic-caselowerCase of instruction mnemonics (mov, jmp)
tasmRegisterCase--tasm-register-caselowerCase of register names (ax, ds, st)
tasmMnemonicColumn--tasm-mnemonic-column8Column where mnemonics and directives start
tasmOperandColumn--tasm-operand-column16Column where operands start
tasmCommentColumn--tasm-comment-column36Column where trailing comments start

The case options accept upper, lower or preserve. Identifiers, numbers and strings are never changed. That includes names declared in the same file that are spelled like a keyword, such as ARG page:BYTE or LOCAL Width:WORD: labels, definitions, procedure arguments, local variables and macro parameters keep their case wherever they appear.

Tabs

Alignment uses spaces by default. With Prettier's useTabs: true, tabs are used instead: each tab advances to the next multiple of tabWidth, and a column that is not a multiple of tabWidth is rounded up to the next tab stop. Prettier's default tabWidth of 2 makes for many short tabs, so set it to 8 when using tabs:

{
    "plugins": ["prettier-plugin-tasm"],
    "overrides": [{ "files": "*.asm", "options": { "useTabs": true, "tabWidth": 8 } }]
}

Formatting rules

  • Labels (Start:, @@loop:, Entry::) start at column 0. An instruction on the same line is aligned to the mnemonic column.

  • Instructions and plain directives (ASSUME, LOCAL, ARG, USES, ALIGN, ORG, …) put the keyword at the mnemonic column and operands at the operand column.

  • Structural directives (IDEAL, MODEL, CODESEG, DATASEG, SEGMENT/ENDS, PROC/ENDP, STRUC/UNION/ENDS, MACRO/ENDM, LABEL, GROUP, END, P386, …), file-level declarations (PUBLIC, PUBLICDLL, EXTRN, GLOBAL, COMM, INCLUDE, INCLUDELIB) and listing directives (%TITLE, %NEWPAGE, %NOLIST, …) start at column 0, with their argument at the mnemonic column, since IDEAL mode puts the name after the keyword.

  • Definitions (Msg DB …, Max EQU …, Count = …) put the name at column 0. Consecutive definitions share their keyword and value columns. If a name or keyword in the block is too long, both columns move right in steps of the distance between the mnemonic and operand columns (8 by default):

    ColumnWidth     EQU     8
    RowHeight       EQU     16
    
    ScIndex EQU     03c4h
    

    Inside PROC … ENDP and MACRO … ENDM, definitions are indented to the mnemonic column and their other columns move along. A label in front of a definition stays at column 0. A single = assignment there, with no other definition directly above or below it, isn't aligned: plane = plane + 1.

  • Structure instances (Origin Point <0, 0>) are laid out like definitions, and macro invocations (PrintStr Greeting) like instructions, when the structure, union, record, enum, table, type or macro is defined in the same file. Their names keep their case. Macro arguments are kept exactly as written, because a macro may paste them anywhere, even into a string.

  • Blocks: REPT, IRP, IRPC, WHILE and conditional blocks (IF, IFDEF, ELSE, ENDIF, …) indent their body by 4 spaces per level (one tab with useTabs). Inside PROC and MACRO bodies the block directive sits at the mnemonic column; elsewhere it starts at column 0. Its arguments follow after a single space. ELSE, ENDIF and ENDM line up with the line that opened the block. Labels stay at column 0, and trailing comments stay at the comment column. MACRO bodies are formatted at the normal level, like a procedure body.

    IFDEF DEBUG
        DebugFlag       DB      1
    ENDIF
    
    PROC    Copy
            REPT 4
                movsd
                IF Padding GT 0
                    add     di, Padding
                ENDIF
            ENDM
    ENDP
    ```…
    

Description from the npm listing.

  • prettier
  • prettier-plugin
  • tasm
  • turbo-assembler
  • assembly
  • x86

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-plugin-tasm weekly downloads on npm, last 90 days: 14 weekly downloads as of Dec 5, 2026.prettier-plugin-tasmWeekly downloads on npm · Last 90 days14downloads / week050100150200250300Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
prettier-plugin-tasm weekly downloads on npm, last 90 days: 14 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

prettier-plugin-tasm weekly downloads growth on npm: -22.2% over 7 days, -93.7% over 30 days, 90-day growth unavailable.prettier-plugin-tasmWeekly downloads growth on npm14downloads / week now7-day growth-4 weekly downloads-22.2%30-day growth-208 weekly downloads-93.7%90-day growth+14 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-tasm weekly downloads growth on npm: -22.2% over 7 days, -93.7% over 30 days, 90-day growth unavailable.

Ranking history

prettier-plugin-tasm npm ranking history: currently #3077 (by weekly downloads).prettier-plugin-tasmnpm ranking · by weekly downloads · Last 90 days#3077current rank#1600#1800#2000#2200#2400#2600#2800#3000#3200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 19, 2026 – Dec 6, 2026 · 43 observations · Updated Dec 5, 2026pluginstats.com
prettier-plugin-tasm npm ranking history: currently #3077 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 154, #19 (overall #3,079)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 11, #6 (overall #206)
Prettier plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (156)
Recent weekly downloads observations for prettier-plugin-tasm
Date (UTC)Weekly downloadsChange vs. previous
14+6
8-3
11-1
12-1
13-4
17+1
16-2
180
18+4
14+1
13+3
10+3
7-4
11—

Similar npm Prettier plugins plugins

All 20 prettier-plugin-tasm alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/prettier-plugin-tasm. First seen Oct 17, 2026; last successful collection Dec 6, 2026. See the methodology.