没有合适的资源?快使用搜索试试~ 我知道了~
numerable:用于 Javascript 和 Node.js 应用程序的数字格式和操作库
共132个文件
ts:111个
json:5个
js:4个
需积分: 6 0 下载量 171 浏览量
2021-05-30
15:04:47
上传
评论
收藏 301KB ZIP 举报
温馨提示
numerable是一个用于 Javascript 和 Typescript 应用程序的数字格式库。 :gear: 安装 使用或安装numerable 。 npm install --save numerable # or yarn add numerable :open_book: 用法 import { format , parse } from 'numerable' ; format ( 1500250.2 , '0,0.00' ) ; //=> '1,500,250.20' format ( 0.25 , '0.0 %' ) ; //=> '25.0 %' format ( 1200 , '0.00 a' ) ; //=> '1.20 K' parse ( '80.5%' ) ; //=> 0.805 :input_numbers: 格式化数字 numerable 中的数字格式是通过基于模式的语法完成的。 使用这些模式,您可
资源推荐
资源详情
资源评论
收起资源包目录
numerable:用于 Javascript 和 Node.js 应用程序的数字格式和操作库 (132个子文件)
.editorconfig 304B
.eslintignore 65B
numerable-format-demo.gif 112KB
.gitignore 85B
.eslintrc.js 1KB
rollup.config.js 1KB
copy-distribution-files.js 224B
jest.config.js 171B
package-lock.json 213KB
package.json 2KB
tsconfig.json 547B
tsconfig.rollup-build.json 212B
tsconfig.test.json 153B
README.md 19KB
LICENSE.md 1KB
bug_report.md 682B
.npmignore 0B
numerable-logo-with-text-384-320.png 37KB
numerable-logo-200-200.png 21KB
format-number.spec.ts 75KB
parse.spec.ts 17KB
unit-scale.spec.ts 11KB
add-thousands-separator-to-value-integer-part.spec.ts 7KB
get-locale-from-platform.ts 6KB
currency.spec.ts 6KB
percentage.spec.ts 6KB
get-locale-from-platform.spec.ts 5KB
number-to-formatted-number.ts 5KB
number-to-fixed.spec.ts 4KB
formatted-string-to-number.ts 4KB
parse-pattern.ts 4KB
memoize.spec.ts 4KB
unit-scale.ts 3KB
format.ts 3KB
resolve-format-options.ts 3KB
number-to-non-exponential-string.ts 3KB
format.ts 3KB
bytes.spec.ts 3KB
number-to-non-exponential-string.spec.ts 3KB
multiply-by-power-of-ten.spec.ts 3KB
scale-value-with-abbreviation.ts 3KB
decimal-places-rule.ts 2KB
ordinal.spec.ts 2KB
time.spec.ts 2KB
bytes.ts 2KB
parse.ts 2KB
bps.spec.ts 2KB
number-to-fixed.ts 2KB
exponential.spec.ts 2KB
sign-rule.ts 2KB
pattern-regexp-utils.ts 2KB
rescale-rounded-value.ts 2KB
exponential.ts 2KB
parse.ts 2KB
add-thousands-separator-to-value-integer-part.ts 1KB
percentage.ts 1KB
apply-abbreviation-localized-unit-to-pattern-mask.ts 1KB
abbreviation-rule.ts 1KB
bps.ts 1KB
currency.ts 1KB
time.ts 1KB
optional-decimal-places-rule.ts 1KB
get-scientific-notation.spec.ts 1KB
round-value-and-add-trailing-zeros.ts 1019B
rules.ts 1011B
split-number-integer-and-decimal-parts.ts 985B
round-half-away-from-zero.spec.ts 957B
add-or-remove-leading-zeros-to-value.ts 952B
split-string-in-two-parts.spec.ts 937B
get-locale-from-platform.ts 927B
format-number-options.ts 927B
multiply.ts 883B
round.ts 813B
create-unit-scale-from-locale-abbreviations.ts 812B
add-sign-info-to-full-formatted-number.ts 793B
ordinal.ts 781B
index.ts 757B
is-power-of-ten.ts 756B
add.ts 683B
en.ts 678B
ar-eg.ts 662B
resolved-format-number-options.ts 645B
ar.ts 639B
numerable-formatter.ts 621B
built-in-formatters.ts 600B
round-number.ts 596B
divide.ts 595B
merge.ts 571B
get-scientific-notation.ts 565B
replace-digits-with-numeral-system.ts 559B
hi.ts 556B
multiply-by-power-of-ten.ts 555B
string-repeat.ts 540B
memoize.ts 527B
split-string-in-two-parts.ts 454B
remove-sign-if-exists.ts 418B
fr-ch.ts 406B
to-object.ts 399B
en-in.ts 387B
de-ch.ts 387B
共 132 条
- 1
- 2
资源评论
AaronGary
- 粉丝: 22
- 资源: 4577
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 欧阳雨彤202330813009.py
- 基于 Yolov5 的自动贴标IMG,以及许多其他有用的工具
- 基于STM32F103C8T6、LCD1602、AD5206(I2C接口)6路数字电位器的proteus仿真应用设计
- 021315100-2405220913.awb
- 语音分帧与加窗基于MATLAB
- 二层独栋别墅砖混结构D027-两层-10.40&10.30米-施工图.dwg
- 帆软跑马灯制作,附件有制作好的效果
- 本户型为2层独栋别墅D026-两层-13.14&12.84米-施工图.dwg
- 双层别墅图纸有施工图D022-两层-08.70&10.80米-施工图.dwg
- 基于Android的交通事故全责图解设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功