</>PackageGraphPackageGraph

loader-runner

npmv4.3.2

Runs (webpack) loaders

Safe to adopt

Yes — loader-runner scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 138 days ago. 2 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 138 days ago. 2 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 21 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 7 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding loader-runner to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

21 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=6.11.5
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the loader-runner README.

import { runLoaders } from "loader-runner";

runLoaders(
	{
		resource: "/abs/path/to/file.txt?query",
		// String: Absolute path to the resource (optionally including query string)

		loaders: ["/abs/path/to/loader.js?query"],
		// String[]: Absolute paths to the loaders (optionally including query string)
		// {loader, options}[]: Absolute paths to the loaders with options object

		context: { minimize: true },
		// Additional loader context which is used as base context
Example truncated — see the full README.

loader-runner vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
loader-runnerthis page01MIT4 months ago
rolldown81.9M8MIT1 day ago
get-nonce58.4M1MIT1 day ago
minimizer-webpack-plugin01MIT7 days ago
schema-utils02MIT1 day ago
rechoir01MIT1 day ago

Dependencies

Declared by loader-runner v4.3.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (17)

@eslint/js ^9.28.0@eslint/markdown ^8.0.1@stylistic/eslint-plugin ^5.2.3eslint ^9.28.0eslint-config-prettier ^10.1.5eslint-config-webpack ^4.6.1eslint-plugin-import ^2.31.0eslint-plugin-jest ^29.15.2eslint-plugin-jsdoc ^62.9.0eslint-plugin-n ^17.19.0eslint-plugin-prettier ^5.4.1eslint-plugin-unicorn ^64.0.0globals ^17.0.0mocha ^3.2.0nyc ^14.1.1prettier ^3.5.3should ^8.0.2

Used by

Popular packages that depend on loader-runner.

Relationship graph

Dependencies (left) and dependents (right) of loader-runner.

webpackloader-runner
loader-runner dependencies dependents

Frequently installed together

Release history

2 releases in the last two years, typically about 133 days apart.

Recent versions of loader-runner
VersionPublishedSizeLicense
4.3.2latest4 months ago21 KBMIT
4.3.111 months ago20 KBMIT
4.3.04 years ago18 KBMIT
4.2.05 years ago18 KBMIT
4.1.06 years ago17 KBMIT
4.0.06 years ago17 KBMIT
3.1.06 years ago16 KBMIT
2.4.07 years ago16 KBMIT
3.0.07 years ago16 KBMIT
2.3.18 years ago16 KBMIT
2.3.09 years agoMIT
2.2.010 years agoMIT
2.1.110 years agoMIT
2.1.010 years agoMIT
2.0.110 years agoMIT

Overview

loader-runner is an npm package that runs (webpack) loaders. It has 1 known dependents in the graph. The latest version is 4.3.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need runs (webpack) loaders and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • Large dependency tree (17 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use loader-runner?

Yes — loader-runner scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 138 days ago. 2 releases in the last 2 years.

How do I install loader-runner?

Run `npm install loader-runner` to add loader-runner to your npm project.

What license is loader-runner released under?

loader-runner is distributed under the MIT license.

How popular is loader-runner?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on loader-runner.

Is loader-runner still maintained?

The most recent release of loader-runner (v4.3.2) was published 4 months ago.

Does loader-runner run install scripts?

No. loader-runner does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.