This package has been deprecated

Author message:

Use `change-case`

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

4.0.0 • Public • Published

Param Case

Transform into a lower cased string with dashes between words.

Installation

npm install param-case --save

Usage

import { paramCase } from "param-case";

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

The function also accepts options.

License

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i param-case

    Weekly Downloads

    16,892,666

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    2.57 kB

    Total Files

    5

    Last publish

    Collaborators

    • blakeembrey