Skip to content
PluginStats

apotheke weekly downloads statistics

By mRaffaello · npm · Prettier plugins

Prettier for imports — deterministic import organization as a Prettier plugin or CLI

View on npm Fresh · Dec 6, 2026

apotheke has 328 recorded weekly downloads on npm, an increase of 5.1% over the past 30 days, ranking #2360 of 3,247 tracked listings.

Weekly downloads
328
Official API · Dec 5, 2026
7-day growth
+45.8%
+103 weekly downloads
30-day growth
+5.1%
+16 weekly downloads
90-day growth
+129%
+185 weekly downloads
Rank
#2360
▼ 13 in 7 days

About apotheke

<p align="left"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/header/graph.svg?title=apotheke&subtitle=Deterministic%20import%20organization%20for%20JavaScript%20and%20TypeScript&logo=https://raw.githubusercontent.com/mRaffaello/apotheke/main/apps/docs/public/mark-dark.png&align=left&font=geist&mode=dark" /> <img alt="apotheke — deterministic import organization for JavaScript and TypeScript" src="https://shieldcn.dev/header/graph.svg?title=apotheke&subtitle=Deterministic%20import%20organization%20for%20JavaScript%20and%20TypeScript&logo=https://raw.githubusercontent.com/mRaffaello/apotheke/main/apps/docs/public/mark.png&align=left&font=geist&mode=light" /> </picture> </p> <p align="left"> <a href="https://www.npmjs.com/package/apotheke"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://shieldcn.dev/group/npm/apotheke+npm/dm/apotheke+bundlephobia/minzip/apotheke+npm/types/apotheke+github/ci/mRaffaello/apotheke+github/license/mRaffaello/apotheke.svg?variant=secondary&mode=dark" /> <img alt="npm version, monthly downloads, minzipped size, TypeScript types, CI status, MIT license" src="https://shieldcn.dev/group/npm/apotheke+npm/dm/apotheke+bundlephobia/minzip/apotheke+npm/types/apotheke+github/ci/mRaffaello/apotheke+github/license/mRaffaello/apotheke.svg?variant=secondary&mode=light" /> </picture> </a> </p>

Prettier for imports. You describe the groups your codebase actually has — apotheke sorts every import into them, the same way, in every file. Run it as a Prettier plugin or as a standalone CLI.

// Before
import { useQuery } from '@tanstack/react-query';
import { useMemo } from 'react';
import { createRoute } from '@tanstack/react-router';
import { tsr } from '../api/tsr';
import useLoggedUser from '../hooks/use-logged-user';

// After
// React
import { useMemo } from 'react';

// Hooks
import useLoggedUser from '../hooks/use-logged-user';

// Api
import { tsr } from '../api/tsr';
import { useQuery } from '@tanstack/react-query';

// Navigation
import { createRoute } from '@tanstack/react-router';

Note where ../api/tsr and @tanstack/react-query landed: grouping is by role in your app, not by whether a module is local or comes from node_modules.

Getting started

pnpm add -D apotheke

📖 Read the documentation →

The quick start goes from an empty config to organised imports in about two minutes.

Development

This repository is a pnpm workspace. The published package lives in packages/apotheke, the documentation site in apps/docs.

pnpm install
pnpm build            # build the package (required before format and dogfooding)
pnpm test             # unit + e2e
pnpm docs:dev         # run the documentation site locally

Issues and pull requests are welcome at github.com/mRaffaello/apotheke.

License

MIT © Marco Raffaello

Description from the npm listing.

  • imports
  • import-sorter
  • organize-imports
  • prettier
  • prettier-plugin
  • typescript
  • javascript
  • codemod
  • monorepo

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

apotheke weekly downloads on npm, last 90 days: 328 weekly downloads as of Dec 5, 2026, +129% over 90 days.apothekeWeekly downloads on npm · Last 90 days328downloads / week+129% over 90 days0200400600800Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
apotheke weekly downloads on npm, last 90 days: 328 weekly downloads as of Dec 5, 2026, +129% over 90 days.

7/30/90-day growth

apotheke weekly downloads growth on npm: +45.8% over 7 days, +5.1% over 30 days, +129% over 90 days.apothekeWeekly downloads growth on npm328downloads / week now7-day growth+103 weekly downloads+45.8%30-day growth+16 weekly downloads+5.1%90-day growth+185 weekly downloads+129%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
apotheke weekly downloads growth on npm: +45.8% over 7 days, +5.1% over 30 days, +129% over 90 days.

Ranking history

apotheke npm ranking history: currently #2360 (by weekly downloads).apothekenpm ranking · by weekly downloads · Last 90 days#2360current rank#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
apotheke npm ranking history: currently #2360 (by weekly downloads).

Listing placement

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

Listing placement

Prettier plugins267 listings · 14 pages · page 4, #1 (overall #61)
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 apotheke
Date (UTC)Weekly downloadsChange vs. previous
328-2
330+78
252-30
282-4
286+13
273+33
240+15
225-15
240-48
288+36
252+6
246+2
244+5
239—

Similar npm Prettier plugins plugins

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