what-time:human readable time seconds 人类可读时间 秒为单位

时间:2024-06-04 00:46:31
【文件属性】:

文件名称:what-time:human readable time seconds 人类可读时间 秒为单位

文件大小:5KB

文件格式:ZIP

更新时间:2024-06-04 00:46:31

time readable JavaScript

几点了 人类可读的时间,从启发 安装 npm install what-time yarn add what-time :warning: const whatTime = require ( 'what-time' ) ; let s = Date . now ( ) // the number is miniseconds // something run let e = Date . now ( ) console . log ( whatTime ( ( s - e ) / 1000 ) // whatTime is seconds , pleace /1000 用法 const whatTime = require ( 'what-time' ) ; whatTime ( 1810.999 ) // "30m 10s 999ms " whatTime ( 1810.999 ,


【文件预览】:
what-time-master
----.travis.yml(175B)
----index.js(1KB)
----test.js(1KB)
----package.json(1KB)
----readme.md(2KB)
----license(1KB)
----.gitignore(58B)
----.npmrc(19B)
----.editorconfig(175B)
----.gitattributes(29B)

网友评论