# path-case

> Transform into a lower case string with slashes between words

Latest version **4.0.0** (published 2023-09-30) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2023-09-30 |
| First published | 2014-03-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/path-case) |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 2.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2404 |
| Author | Blake Embrey |
| Maintainers | blakeembrey |
| Keywords | path, case, slash, lower, convert, transform |

## Links

- npm: https://www.npmjs.com/package/path-case
- Repository: https://github.com/blakeembrey/change-case
- Homepage: https://github.com/blakeembrey/change-case/tree/master/packages/path-case#readme
- Issues: https://github.com/blakeembrey/change-case/issues
- npm.io page: https://npm.io/package/path-case

## Dependencies (1)

- [no-case](https://npm.io/package/no-case.md) ^4.0.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 4.0.0 (latest) — 2023-09-30
- 3.0.4 — 2020-12-02
- 3.0.3 — 2019-12-19
- 3.0.2 — 2019-12-06
- 3.0.1 — 2019-12-03
- 3.0.0 — 2019-12-01
- 2.1.1 — 2017-03-18
- 2.1.0 — 2016-06-12
- 2.0.0 — 2016-06-11
- 1.1.2 — 2015-12-16
- 1.1.1 — 2015-01-31
- 1.1.0 — 2015-01-12
- 1.0.1 — 2014-08-19
- 1.0.0 — 2014-08-17
- 0.1.0 — 2014-04-09
- … 2 more at https://npm.io/package/path-case/versions

## README

# Path Case

> Transform into a lower case string with slashes between words.

## Installation

```
npm install path-case --save
```

## Usage

```js
import { pathCase } from "path-case";

pathCase("string"); //=> "string"
pathCase("dot.case"); //=> "dot/case"
pathCase("PascalCase"); //=> "pascal/case"
pathCase("version 1.2.10"); //=> "version/1/2/10"
```

The function also accepts [`options`](https://github.com/blakeembrey/change-case#options).

## License

MIT

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