path-case

Transform into a lower case string with slashes between words

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
path-case
2,19524.0.08 months ago10 years agoMinified + gzip package size for path-case in KB

Readme

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