param-case
Param case a string
Last updated 10 years ago by blakeembrey .
MIT · Repository · Bugs · Original npm
$ cnpm install param-case 
SYNC missed versions from official npm registry.

Param Case

NPM version NPM downloads Bundle size

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

Current Tags

  • 3.0.4                                ...           latest (5 years ago)

4 Versions

  • 3.0.4                                ...           5 years ago
  • 3.0.3                                ...           6 years ago
  • 1.1.2                                ...           10 years ago
  • 2.1.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org