This package has been deprecated

Author message:

Use `change-case`

path-case
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/path-case package

4.0.0 • Public • Published

Path Case

Transform into a lower case string with slashes between words.

Installation

npm install path-case --save

Usage

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.

License

MIT

Package Sidebar

Install

npm i path-case

Weekly Downloads

6,214,479

Version

4.0.0

License

MIT

Unpacked Size

2.51 kB

Total Files

5

Last publish

Collaborators

  • blakeembrey