Skip to content
PluginStats

@backtickjs/prettier-plugin weekly downloads statistics

By backtickjs · npm · Prettier plugins

A Prettier plugin that formats the code inside Backtick.js client scripts

View on npm Fresh · Dec 6, 2026

@backtickjs/prettier-plugin has 909 recorded weekly downloads on npm, an increase of 48.0% over the past 30 days, ranking #2096 of 3,247 tracked listings.

Weekly downloads
909
Official API · Dec 5, 2026
7-day growth
-0.3%
-3 weekly downloads
30-day growth
+48.0%
+295 weekly downloads
90-day growth
—
Insufficient history
Rank
#2096
▼ 84 in 7 days

About @backtickjs/prettier-plugin

@backtickjs/prettier-plugin

A Prettier plugin that formats the code inside Backtick.js client scripts. Without it, Prettier leaves a cs`…` script as an opaque template string; with it, the script is formatted as TypeScript or JavaScript, like the rest of the file, with its splices kept in place.

Install

npm install --save-dev prettier typescript @backtickjs/prettier-plugin

Prettier 3 and TypeScript ^6.0.3 are peer dependencies: the plugin uses your project's TypeScript to find scripts. Install it in the package that runs Prettier, which resolves plugins from there.

Setup

Name the plugin in .prettierrc:

{
  "plugins": ["@backtickjs/prettier-plugin"]
}

In VS Code, the Prettier extension reads the same config, so format-on-save formats scripts too.

The plugin applies to .ts, .tsx, .js and .jsx files. Other embedded templates, such as CSS or GraphQL, are formatted by Prettier as usual.

Example

Before:

const name = "Ada";
const sum = cs`() => {const   a=1;return    a+${name.length}}`;
export const Greeting = cs`<$View style={{ padding: 24 }}><$Text>Hi {${name}}</$Text><$Text>A second line long enough to break</$Text></$View>`;

After:

const name = "Ada";
const sum = cs`() => {
  const a = 1;
  return a + ${name.length};
}`;
export const Greeting = cs`(
  <$View style={{ padding: 24 }}>
    <$Text>Hi {$name}</$Text>
    <$Text>A second line long enough to break</$Text>
  </$View>
)`;

A splice of a bare identifier in code prints in its short form (${name} becomes $name); any other splice keeps its braces and is formatted as host code. A script that is a single JSX element gets parentheses only when it breaks across lines, and a trailing semicolon after a script's final expression is dropped. Formatting is idempotent.

Related

License

MIT

Description from the npm listing.

  • backtick
  • react-native
  • server-driven-ui
  • server-components
  • prettier
  • prettier-plugin
  • formatter

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

@backtickjs/prettier-plugin weekly downloads on npm, last 90 days: 909 weekly downloads as of Dec 5, 2026.@backtickjs/prettier-pluginWeekly downloads on npm · Last 90 days909downloads / week02004006008001K1.2K1.4KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@backtickjs/prettier-plugin weekly downloads on npm, last 90 days: 909 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@backtickjs/prettier-plugin weekly downloads growth on npm: -0.3% over 7 days, +48.0% over 30 days, 90-day growth unavailable.@backtickjs/prettier-pluginWeekly downloads growth on npm909downloads / week now7-day growth-3 weekly downloads-0.3%30-day growth+295 weekly downloads+48.0%90-day growth+909 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@backtickjs/prettier-plugin weekly downloads growth on npm: -0.3% over 7 days, +48.0% over 30 days, 90-day growth unavailable.

Ranking history

@backtickjs/prettier-plugin npm ranking history: currently #2096 (by weekly downloads).@backtickjs/prettier-pluginnpm ranking · by weekly downloads · Last 90 days#2096current rank#1400#1600#1800#2000#2200#2400#2600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@backtickjs/prettier-plugin npm ranking history: currently #2096 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 105, #16 (overall #2,096)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 3, #2 (overall #42)
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 (170)
Recent weekly downloads observations for @backtickjs/prettier-plugin
Date (UTC)Weekly downloadsChange vs. previous
909+54
855-8
863+68
795-144
939+146
793+11
782-130
912+25
887+44
843+91
752+147
605+63
542+327
215—

Similar npm Prettier plugins plugins

All 20 @backtickjs/prettier-plugin 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/@backtickjs/prettier-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.