This package has been deprecated

Author message:

Use `change-case`

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

4.0.0 • Public • Published

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

Package Sidebar

Install

npm i dot-case

Weekly Downloads

15,005,549

Version

4.0.0

License

MIT

Unpacked Size

2.51 kB

Total Files

5

Last publish

Collaborators

  • blakeembrey