2.0.0 • Published 4 years ago

yea-util-format v2.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

util-format

node格式化工具库,包含各种格式化函数

Getting Started

Install the module with: npm install util-format

Documentation

支持以下格式化函数:

  • date 日期
  • currency 货币
  • string_max 填补较长的字符串
  • mask 遮蔽敏感字符串
  • mask_mobile 遮蔽手机号
  • mask_name 遮蔽姓名
  • mask_bankcard 遮蔽银行卡号

Examples

(Coming soon)

Release History

(Nothing yet)

License

Copyright (c) 2016 xiejun

2.0.0

4 years ago