selfcarebot/node_modules/path-case
2023-03-30 06:02:54 +00:00
..
dist Added main bot functionality 2023-03-30 06:02:54 +00:00
dist.es2015 Added main bot functionality 2023-03-30 06:02:54 +00:00
LICENSE Added main bot functionality 2023-03-30 06:02:54 +00:00
package.json Added main bot functionality 2023-03-30 06:02:54 +00:00
README.md Added main bot functionality 2023-03-30 06:02:54 +00:00

Path Case

NPM version NPM downloads Bundle size

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