parcoursup/node_modules/dot-case
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00
..
dist $ 2023-03-05 13:23:23 +01:00
dist.es2015 $ 2023-03-05 13:23:23 +01:00
node_modules/tslib $ 2023-03-05 13:23:23 +01:00
LICENSE $ 2023-03-05 13:23:23 +01:00
package.json $ 2023-03-05 13:23:23 +01:00
README.md $ 2023-03-05 13:23:23 +01:00

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