Skip to content
JS
Package

normalize-path

Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.

v3.0.0, 19 Apr 2018MITCommonJSTypes: NoneFiles and file systemsNode.js utilities
$ npm install normalize-path

Key numbers

As of 25 Sept 2026
Weekly downloads
109.6m
+43% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v3.0.0
GitHub stars
112
13 forks
Open issues / PRs
0 / 3
Contributors
3
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 142.6m (16 Jun 2026)Low 42.8m (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.

109,630,934 downloads last week, 458,178,021 in the last month. The 12-month change of +43% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
011 in total
Latest version
3.0.0, 19 Apr 20188 years ago
First published
26 Jun 2014
Last push to GitHub
7 Oct 20221,448 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
2,955

Major versions

  1. v3 first release 3.0.0, 19 Apr 2018
  2. v2 first release 2.0.0, 4 Oct 2015
  3. v1 first release 1.0.0, 24 Jan 2015
  4. v0 first release 0.1.0, 26 Jun 2014

Recent releases

VersionPublished
3.0.019 Apr 2018
2.1.129 Mar 2017
2.1.029 Mar 2017
2.0.117 Nov 2015
2.0.04 Oct 2015
1.0.024 Jan 2015
0.3.024 Oct 2014
0.2.119 Oct 2014
0.2.019 Oct 2014
0.1.16 Jul 2014
0.1.026 Jun 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
9.0 kB
Dependencies (0)
None
npm install normalize-path
  • jsDelivrhttps://cdn.jsdelivr.net/npm/normalize-path@3.0.0/
  • unpkghttps://unpkg.com/normalize-path@3.0.0/
  • esm.shhttps://esm.sh/normalize-path@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
is-valid-glob2.2m-9 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.