text-path-case
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Path Case

NPM version NPM downloads Bundle size

Transform into a lower case text with slashes between words.

Installation

npm install text-path-case --save

Usage

import { pathCase } from "text-path-case";
 
pathCase("string"); //=> "string"
pathCase("dot.case"); //=> "dot/case"
pathCase("PascalCase"); //=> "pascal/case"
pathCase("camelCase"); //=> "camel/case"
pathCase("version 1.2.10"); //=> "version/1/2/10"

The function also accepts options.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1,950
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1,950
  • 1.0.0
    0

Package Sidebar

Install

npm i text-path-case

Weekly Downloads

1,950

Version

1.0.2

License

MIT

Unpacked Size

5.95 kB

Total Files

7

Last publish

Collaborators

  • dimetrix