# better-path-resolve

> A better path.resolve() that normalizes paths on Windows

Latest version **2.0.0** (published 2026-03-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install better-path-resolve
pnpm add better-path-resolve
yarn add better-path-resolve
bun add better-path-resolve
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-03-11 |
| First published | 2019-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=22.13 |
| Dependencies | 1 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 104 |
| Author | Zoltan Kochan |
| Maintainers | zkochan |

## Links

- npm: https://www.npmjs.com/package/better-path-resolve
- Repository: https://github.com/zkochan/packages/tree/main/better-path-resolve
- Homepage: https://github.com/zkochan/packages/tree/main/better-path-resolve#readme
- npm.io page: https://npm.io/package/better-path-resolve

## Dependencies (1)

- [is-windows](https://npm.io/package/is-windows.md) ^1.0.2

## Recent versions

- 2.0.0 (latest) — 2026-03-11
- 1.0.0 — 2019-03-01

## README

# better-path-resolve

> A better path.resolve() that normalizes paths on Windows

<!--@shields('npm')-->
[![npm version](https://img.shields.io/npm/v/better-path-resolve.svg)](https://www.npmjs.com/package/better-path-resolve)
<!--/@-->

## Installation

```sh
<npm|yarn|pnpm> add better-path-resolve
```

## Usage

```js
'use strict'
const betterPathResolve = require('better-path-resolve')

console.log(betterPathResolve('c:/src'))
//> C:\src
```

## License

[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io)

---
_Source: https://npm.io/package/better-path-resolve · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
