</>PackageGraphPackageGraph

normalize-path

npmv3.0.0

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.

0
Weekly downloads
1
Dependents
3
Dependencies
2/100
Popularity

Overview

normalize-path is an npm package that 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. The latest version is 3.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need 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 and value a focused solution.

When not to use it

Consider an alternative if you need to 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).
  • Lean dependency tree (3 direct dependencies).

Cons

  • No bundled TypeScript types (may require a separate @types package).

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

Relationship graph

Dependencies (left) and dependents (right) of normalize-path.

anymatchnormalize-path
normalize-path dependencies dependents

Dependencies

Dev (3)

gulp-format-md ^1.0.0minimist ^1.2.0mocha ^3.5.3

Used by

Popular packages that depend on normalize-path.

Alternatives to normalize-path

Frequently installed together

Version history

VersionPublishedLicense
3.0.0latest8 years agoMIT
2.1.19 years agoMIT
2.1.09 years agoMIT
2.0.110 years agoMIT
2.0.010 years agoMIT
1.0.011 years agoMIT
0.3.011 years agoMIT
0.2.111 years agoMIT
0.2.011 years agoMIT
0.1.112 years agoMIT
0.1.012 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install normalize-path?

Run `npm install normalize-path` to add normalize-path to your npm project.

What license is normalize-path released under?

normalize-path is distributed under the MIT license.

How popular is normalize-path?

normalize-path has approximately 0 downloads per week and 1 known dependent packages.