# bare-path

> Path manipulation library for JavaScript

Latest version **3.1.2** (published 2026-09-01) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install bare-path
pnpm add bare-path
yarn add bare-path
bun add bare-path
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.1.2 |
| Published | 2026-09-01 |
| First published | 2023-05-16 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 499.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 4 |
| Author | Holepunch |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/bare-path
- Repository: https://github.com/holepunchto/bare-path
- Homepage: https://github.com/holepunchto/bare-path#readme
- Issues: https://github.com/holepunchto/bare-path/issues
- npm.io page: https://npm.io/package/bare-path

## Recent versions

- 3.1.2 (latest) — 2026-09-01
- 3.1.1 — 2026-07-08
- 3.1.0 — 2026-07-07
- 3.0.1 — 2026-06-01
- 3.0.0 — 2024-09-11
- 2.1.3 — 2024-05-23
- 2.1.2 — 2024-04-25
- 2.1.1 — 2024-04-04
- 2.1.0 — 2023-11-27
- 2.0.1 — 2023-11-24
- 2.0.0 — 2023-11-13
- 1.1.2 — 2023-10-25
- 1.1.1 — 2023-10-23
- 1.1.0 — 2023-09-21
- 1.0.6 — 2023-05-16

## README

# bare-path

Path manipulation library for JavaScript.

```
npm i bare-path
```

## Usage

```js
const path = require('bare-path')

path.join('foo', 'bar') // foo/bar on posix, foo\bar on windows
```

## License

Apache-2.0

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