Skip to content
JS
Package

raw-loader

A loader for webpack that allows importing files as a String

v4.0.2, 9 Oct 2020MITCommonJSTypes: NoneBundler plugins and loaders
$ npm install raw-loader

Key numbers

As of 25 Sept 2026
Weekly downloads
3.7m
+16% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
5 years ago
v4.0.2
GitHub stars
840
90 forks
Open issues / PRs
2 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.7m (21 Jul 2026)Low 1.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,709,778 downloads last week, 16,332,373 in the last month. The 12-month change of +16% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
017 in total
Latest version
4.0.2, 9 Oct 20205 years ago
First published
26 Mar 2012
Last push to GitHub
8 Mar 20212,026 days before the snapshot
Repository archived
Yes
Open issues
2
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
2,661

Major versions

  1. v4 first release 4.0.0, 25 Nov 2019
  2. v3 first release 3.0.0, 5 Jun 2019
  3. v2 first release 2.0.0, 18 Mar 2019
  4. v1 first release 1.0.0, 10 Dec 2018
  5. v0 first release 0.1.0, 26 Mar 2012

Recent releases

VersionPublished
4.0.29 Oct 2020
4.0.115 Apr 2020
4.0.025 Nov 2019
3.1.018 Jul 2019
3.0.05 Jun 2019
2.0.018 Mar 2019
1.0.010 Dec 2018
0.5.123 Jan 2014
0.5.01 Feb 2013
0.2.025 Sept 2012
0.1.620 May 2012
0.1.55 Apr 2012
0.1.43 Apr 2012
0.1.33 Apr 2012
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 10.13.0
Runtimes
-
Unpacked size (npm)
9.8 kB
Dependencies (2)
loader-utilsschema-utils
Peer dependencies (1)
webpack
npm install raw-loader
  • jsDelivrhttps://cdn.jsdelivr.net/npm/raw-loader@4.0.2/
  • unpkghttps://unpkg.com/raw-loader@4.0.2/
  • esm.shhttps://esm.sh/raw-loader@4.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
style-loader18.6m-2 years agoCommonJS-
thread-loader1.1m-2 years agoCommonJS-
imports-loader416.1k-2 years agoCommonJS-
expose-loader413.7k-1 year agoCommonJS-
exports-loader274.8k-2 years agoCommonJS-
coffee-loader117.5k-2 years agoCommonJS-
null-loader1.6m-5 years ago--
compression-webpack-plugin978.2k-6 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.