郑柏铃 8ab83f9df6 学习 há 10 meses atrás
..
dist 8ab83f9df6 学习 há 10 meses atrás
dist.es2015 8ab83f9df6 学习 há 10 meses atrás
LICENSE 8ab83f9df6 学习 há 10 meses atrás
README.md 8ab83f9df6 学习 há 10 meses atrás
package.json 8ab83f9df6 学习 há 10 meses atrás

README.md

Dot Case

NPM version NPM downloads Bundle size

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