1.0.4 • Published 4 years ago

@jeebey/wx-extends v1.0.4

Weekly downloads
5
License
ISC
Repository
-
Last release
4 years ago

介绍

加强JS原型函数的

安装

npm i @jeebey/wx-extends

使用说明

import '@jeebey/wx-extends'

接口文档

String.prototype.abbreviate
String.prototype.blank
String.prototype.toChinese
String.prototype.toNumber
String.prototype.toInteger
String.prototype.lengthw
String.prototype.file_srcname
String.prototype.file_extname
String.prototype.replaceAll
Number.prototype.toStringWithZero
Number.prototype.toStringWithBlank
Number.prototype.toWCharCode
Number.prototype.nextInt
Array.prototype.shuffle
Array.prototype.sorting
Array.prototype.max
Array.prototype.min
Date.prototype.toChinese
Date.prototype.diff
Date.prototype.asString
Date.prototype.addYears
Date.prototype.addMonths
Date.prototype.addDays
Date.prototype.addHours
Date.prototype.addMinutes
Date.prototype.addSeconds
Date.fromString
Object.isObject
Object.toObject
Object.isNull
Object.isEmpty
Object.isBlank
Object.toParams
Object.toSubmit
Math.uuid || String.uuid

使用示例

"hello world".abbreviate('...', 3)
1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago