Skip to content
PluginStats

@esplugins/no-internal-exports weekly downloads statistics

By esplugins · npm · Webpack plugins

Esbuild, Vite, Rollup, Rolldown, webpack and Rspack plugin for not exporting @internal functions/types/variables from entry files

View on npm Fresh · Dec 6, 2026

@esplugins/no-internal-exports has 33 recorded weekly downloads on npm, an increase of 267% over the past 30 days, ranking #2876 of 3,247 tracked listings.

Weekly downloads
33
Official API · Dec 5, 2026
7-day growth
+26.9%
+7 weekly downloads
30-day growth
+267%
+24 weekly downloads
90-day growth
+560%
+28 weekly downloads
Rank
#2876
▼ 123 in 7 days

About @esplugins/no-internal-exports

image

<h1 align="center"> Esbuild @internal guard</h1> <p align="center">no-internal-exports</p> <p align="center">This package protect entry file against exporting <code>@internal</code> functions/types/variables.</p> <!-- <img alt="Crates.io Size" src="https://img.shields.io/bundlephobia/size/@better/validate-npm-package-name"> --> <hr/>

If you ever wanted to export @internal Functions/Variables/Types but you was worried about exporting that outside with entry files <br><br> <b>Dont Worry</b> <br><br>Right know you can export them in your codebase and protect them to not being exported in entry file.

// index.ts (Entry file)
// @/functions - its `/src/functions/index.ts` path to export barrel
export * from "@/functions"

// functions/index.ts
export * from "./nameValidator"

// @/functions/nameValidator.ts
/** @internal */
export const MAX_LENGTH = 256 as const;
/** @internal */
export const MAX_SAFE_NAME_LENGTH = MAX_LENGTH - 6 ;

/** @internal */
export const MyErrorList = {"TOO_LONG":{...},...code}

export const nameValidator = (name:string) => {...code}
export default nameValidator;

// nameValidator.test.ts
// Importing to check that error case drop correct error
import { MyErrorList } from "@/functions/nameValidator.ts"
// index.js - final build output
// Note that, every element with @internal is not exported!
export { nameValidator };
<hr/>

📜 List of Contents

Install

NPM

npm install @esplugins/no-internal-exports

PNPM

pnpm add @esplugins/no-internal-exports

Yarn

yarn add @esplugins/no-internal-exports

Your bundler is used as-is: esbuild (>=0.18) for the main entry, or Vite / Rollup / Rolldown / webpack / Rspack through the subpath of the table below (adapters are built with unplugin).

Support

There you can check support for other bundlers!

Status
EmojiMeaning
✅Completed
⏸️Paused
❌Aborted
🛠️In Progress
💤Not Yet Started
❓Not Checked
Table of Support
PlatformImportStatus
Esbuild@esplugins/no-internal-exports✅
TSUP@esplugins/no-internal-exports✅
Vite@esplugins/no-internal-exports/vite✅
Rollup@esplugins/no-internal-exports/rollup✅
Rolldown, tsdown@esplugins/no-internal-exports/rolldown✅
Webpack@esplugins/no-internal-exports/webpack✅
Rspack@esplugins/no-internal-exports/rspack✅
Parcel-💤

Every platform marked ✅ is covered by tests running real builds, except tsup: it hands esbuildPlugins to esbuild, which is tested directly.

Implementation

Esbuild
import noInternalExports from "@esplugins/no-internal-exports";

await esbuild.build({
	entryPoints: ["src/index.ts"],
	// bundle: true,  Do like you want there, just example
	// outfile: "out.js", -||-
	plugins: [noInternalExports]
});

With options:

import { createNoInternalExports } from "@esplugins/no-internal-exports";

await esbuild.build({
	entryPoints: ["src/index.ts"],
	plugins: [createNoInternalExports({ tags: ["internal", "private"], debug: true })]
});
TSUP
import { defineConfig } from "tsup";
import noInternalExports from "@esplugins/no-internal-exports";

export default defineConfig({
	entry: ["src/index.ts"],
	// target: "es2022",  Do like you want there, just example
	// format: ["esm"], -||-
	// clean: true, -||-
	// splitting: false, -||-
	// platform: "node", -||-
	// keepNames: true, -||-
	esbuildPlugins: [noInternalExports]
});
Vite

Library mode (build.lib) or any build with build.rollupOptions.input. The plugin only runs in vite build.

import { defineConfig } from "vite";
import noInternalExports from "@esplugins/no-internal-exports/vite";

export default defineConfig({
	build: { lib: { entry: "src/index.ts", formats: ["es"] } },
	plugins: [noInternalExports()]
});
Rollup

Put it before plugins that compile TypeScript, so it sees the original source.

import noInternalExports from "@esplugins/no-internal-exports/rollup";

export default {
	input: "src/index.ts",
	plugins: [noInternalExports() /* , typescript(), ... */]
};
Rolldown / tsdown
import { defineConfig } from "tsdown"; // or "rolldown"
import noInternalExports from "@esplugins/no-internal-exports/rolldown";

export default defineConfig({
	entry: ["src/index.ts"],
	plugins: [noInternalExports()]
});
Webpack

Entry files are taken from the entry option. The plugin runs before your loaders (ts-loader, swc-loader, ...).

const noInternalExports = require("@esplugins/no-internal-exports/webpack").default;

module.exports = {
	entry: "./src/index.ts",
	plugins: [noInternalExports()]
};
Rspack…

Description from the npm listing.

  • no-internal-exports
  • esplugins
  • esbuild
  • plugin
  • esbuild-plugin
  • esbuild-plugin-no-internal-exports
  • internal
  • tsup
  • vite-plugin
  • rollup-plugin
  • rolldown-plugin
  • tsdown
  • webpack-plugin
  • rspack-plugin
  • unplugin

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

@esplugins/no-internal-exports weekly downloads on npm, last 90 days: 33 weekly downloads as of Dec 5, 2026, +560% over 90 days.@esplugins/no-internal-exportsWeekly downloads on npm · Last 90 days33downloads / week+560% over 90 days050100150200250Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@esplugins/no-internal-exports weekly downloads on npm, last 90 days: 33 weekly downloads as of Dec 5, 2026, +560% over 90 days.

7/30/90-day growth

@esplugins/no-internal-exports weekly downloads growth on npm: +26.9% over 7 days, +267% over 30 days, +560% over 90 days.@esplugins/no-internal-exportsWeekly downloads growth on npm33downloads / week now7-day growth+7 weekly downloads+26.9%30-day growth+24 weekly downloads+267%90-day growth+28 weekly downloads+560%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@esplugins/no-internal-exports weekly downloads growth on npm: +26.9% over 7 days, +267% over 30 days, +560% over 90 days.

Ranking history

@esplugins/no-internal-exports npm ranking history: currently #2876 (by weekly downloads).@esplugins/no-internal-exportsnpm ranking · by weekly downloads · Last 90 days#2876current rank#1800#2000#2200#2400#2600#2800#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 25, 2026 – Dec 6, 2026 · 12 observations · Updated Dec 5, 2026pluginstats.com
@esplugins/no-internal-exports npm ranking history: currently #2876 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 144, #18 (overall #2,878)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 14, #7 (overall #267)
Webpack 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 (128)
Recent weekly downloads observations for @esplugins/no-internal-exports
Date (UTC)Weekly downloadsChange vs. previous
33+11
22+1
21-1
22-2
24-4
28-2
30+4
26+1
25-3
28-3
31-29
60-157
217+3
214—

Similar npm Webpack plugins plugins

All 20 @esplugins/no-internal-exports 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/@esplugins/no-internal-exports. First seen Nov 25, 2026; last successful collection Dec 6, 2026. See the methodology.