lower-case-first

2018-11-10 admin

lower-case-first是什么

什么是lower-case-first,Lower case the first character of a string

lower-case-first使用教程帮助文档

Lower Case First

NPM version NPM downloads Build status Test coverage Greenkeeper badge

Lower case the first character of a string.

Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

Installation

npm install lower-case-first --save

Usage

var lowerCaseFirst = require('lower-case-first')

lowerCaseFirst(null)     //=> ""
lowerCaseFirst('STRING') //=> "sTRING"

Typings

Includes a TypeScript definition.

License

MIT

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-45027.html

文章标题:lower-case-first

回到顶部