dot-case

Transform into a lower case string with a period between words

MIT 17 个版本
安装
npm install dot-case
yarn add dot-case
pnpm add dot-case
bun add dot-case
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

版本列表
4.0.0 2023-09-30
3.0.4 2020-12-02
3.0.3 2019-12-19
3.0.2 2019-12-06
3.0.1 2019-12-03
3.0.0 2019-12-01
2.1.1 2017-03-18
2.1.0 2016-06-12
2.0.0 2016-06-11
1.1.2 2015-12-16
1.1.1 2015-01-31
1.1.0 2015-01-12
1.0.1 2014-08-19
1.0.0 2014-08-17
0.1.0 2014-04-09
0.0.2 2014-03-25
0.0.1 2014-03-24