This website works better with JavaScript
首頁
探索
說明
註冊
登入
front
/
icssDService
關註
2
讚好
0
複刻
0
Files
問題管理
0
合併請求
0
Wiki
目錄樹:
e66778188a
分支列表
標籤列表
CDSS6.0
chongqingshizhu
emergency-treatment
hainan
hebeixiangmu20241030
his/anhuieryuan
his/changxing
his/chuangye
his/greatsoft
his/hzqy
his/jiaxingeryuan
his/nbbl
his/nhHospital
his/nhHospitalNew
his/nhfyHospital
his/ningbozhongyiyuan
his/shaoxingzyy
his/shaoyifu
his/shaoyifu_6.0
his/shaya20241106
his/taizhoushili
his/ttrmyy
his/wenzhouweijiju
his/xm5y
his/xszyy
his/xy3y
his/yh3y
his/yinjiang
his/yiwufubao
his/zheyi
his/zhzhibang
his/zjhHospital
his/zjhospital
icss6.0
master
masterNew
nursePush220401
test
testNew
icssDService
/
node_modules.bak
/
bytes
/
History.md
History.md
1.5 KB
文件歷史
原始文件
3.1.0 / 2019-01-22
Add petabyte (
pb
) support
3.0.0 / 2017-08-31
Change "kB" to "KB" in format output
Remove support for Node.js 0.6
Remove support for ComponentJS
2.5.0 / 2017-03-24
Add option "unit"
2.4.0 / 2016-06-01
Add option "unitSeparator"
2.3.0 / 2016-02-15
Drop partial bytes on all parsed units
Fix non-finite numbers to
.format
to return
null
Fix parsing byte string that looks like hex
perf: hoist regular expressions
2.2.0 / 2015-11-13
add option "decimalPlaces"
add option "fixedDecimals"
2.1.0 / 2015-05-21
add
.format
export
add
.parse
export
2.0.2 / 2015-05-20
remove map recreation
remove unnecessary object construction
2.0.1 / 2015-05-07
fix browserify require
remove node.extend dependency
2.0.0 / 2015-04-12
add option "case"
add option "thousandsSeparator"
return "null" on invalid parse input
support proper round-trip: bytes(bytes(num)) === num
units no longer case sensitive when parsing
1.0.0 / 2014-05-05
add negative support. fixes
#6
0.3.0 / 2014-03-19
added terabyte support
0.2.1 / 2013-04-01
add .component
0.2.0 / 2012-10-28
bytes(200).should.eql('200b')
0.1.0 / 2012-07-04
add bytes to string conversion [yields]