apotheke weekly downloads statistics
By mRaffaello · npm · Prettier plugins
Prettier for imports — deterministic import organization as a Prettier plugin or CLI
apotheke has 73 recorded weekly downloads on npm, a decrease of 74.8% over the past 30 days, ranking #1778 of 2,322 tracked listings.
About apotheke
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
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (122)Similar npm Prettier plugins plugins
All 20 apotheke alternativesData 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 Oct 20, 2026. See the methodology.