JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18972548
  • Score
    100M100P100Q22667F
  • License MIT

Transform into a lower cased string with dashes between words

Package Exports

  • param-case
  • param-case/dist.es2015/index

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (param-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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