|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| dist | %!s(int64=2) %!d(string=hai) anos | |
| dist.es2015 | %!s(int64=2) %!d(string=hai) anos | |
| LICENSE | %!s(int64=2) %!d(string=hai) anos | |
| README.md | %!s(int64=2) %!d(string=hai) anos | |
| package.json | %!s(int64=2) %!d(string=hai) anos | |
Transform into a lower case string with a period between words.
npm install dot-case --save
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.
MIT