eslint-plugin-boundaries weekly downloads statistics
By javierbrea · npm · ESLint plugins
Eslint plugin checking architecture boundaries between elements
eslint-plugin-boundaries has 3,543,251 recorded weekly downloads on npm, an increase of 29.4% over the past 30 days, ranking #190 of 3,247 tracked listings.
About eslint-plugin-boundaries
JS Boundaries
Lint your architecture, not just your syntax.
An ESLint plugin for JavaScript and TypeScript projects. Classify your files, write policies for who may depend on whom, and get an ESLint error the moment a boundary is crossed. In your IDE, in CI, with nothing new to run.
Installation
npm install --save-dev eslint eslint-plugin-boundaries
Playground
The playground runs the classification of the plugin and its boundaries/dependencies rule in your browser, on a project you sketch: paste a config, lay out a folder tree, and watch each file get classified and each import get its verdict. It opens with the example of "How it works", below, already running on a sample project.
How it works
From folder tree to enforced architecture in three edits.
1. Classify files and elements
Element descriptors match folders. File descriptors match files on their own, so a file can be a component and a test at the same time. You only need one of the two to start.
settings: {
"boundaries/elements": [
{ type: "helper", pattern: "helpers/*" },
{ type: "component", pattern: "components/*/*" },
{ type: "module", pattern: "modules/*" },
],
"boundaries/files": [
{ pattern: "**/*.spec.js", category: "test" },
],
}
2. Write the policies
Pick a default, then allow or disallow by any combination of element type, file category, module origin and dependency kind. Captured path fragments let one policy cover a whole family of elements.
"boundaries/dependencies": [2, {
default: "disallow",
policies: [
{ from: { element: { type: "component" } },
allow: { to: { element: { type: "helper" } } } },
{ from: { element: { type: "module" } },
allow: { to: { element: { types: ["component", "helper"] } } } },
{ disallow: { to: { file: { categories: "test" } } },
message: "Never import test files from {{ from.element.types.[0] }}s" },
],
}]
3. Read the error where you wrote the import
Violations are ordinary ESLint errors: editor squiggles, CI failures, templated messages with the element types on both sides. Three more rules catch files outside your architecture, unknown dependencies and ignored ones.
src/helpers/format/index.js
1:22 error There is no policy allowing dependencies from
elements of type "helper" to elements of type "component"
boundaries/dependencies
✖ 1 problem (1 error, 0 warnings)
The quick start puts these pieces together in a complete eslint.config.js.
Packages
JS Boundaries is published as these packages:…
Description from the npm listing.
- eslint
- eslint-plugin
- eslintplugin
- plugin
- architecture
- boundaries
- dependencies
- elements
- files
- modules
- analysis
- hierarchy
- import
- dependency
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 (592)Similar npm ESLint plugins plugins
All 20 eslint-plugin-boundaries 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/eslint-plugin-boundaries. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.