JSPM

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

Dot case a string

Package Exports

  • dot-case

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 (dot-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Dot Case

Transform into a lower case string with a period between words.

Installation

npm install dot-case --save

Usage

import { dotCase } from "dot-case";

dotCase("string"); //=> "string"
dotCase("dot.case"); //=> "dot.case"
dotCase("PascalCase"); //=> "pascal.case"
dotCase("version 1.2.10"); //=> "version.1.2.10"

The function also accepts options.

License

MIT