Catalog npm
Back to packageRELEASE DETAILS

1.0.4

npm

67373-npm-common

把一些常用的功能打包成npm包使用

filenameformattimezone文件名合法化时间格式化
Published11 Jul 2023
Direct dependencies1
Transitive dependenciesNot calculated

README

Current package documentation

67373-npm-common

广告:陈一发儿 2023 年正在直播~ 见 67373.net

把一些常用的功能打包成了 npm 包使用

  • formatTime: 时间格式化、修改时区
  • goodFilename: 比较适合中文的文件名合法化
  • wait: promise 的等待函数
  • log/log2: 将任意值转为类似 console.log 的输出
  • jsonToStr: json 转字符串,解决了 json 循环报错,并且默认是换行 + 2 空格缩进
  • clAsk: promise 的简单终端输入模块,可设置倒计时及默认答案
  • countdown: 控制台倒计时
  • arrAtoB: 生成从 a 到 b 的数据

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
sanitize-filename
Environment
{
  "local_name": "sanitize-filename",
  "alias": false,
  "peer_metadata": null
}
^1.6.3runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-I863sJqXgakJVjHimpaE4df4Has8JumYoqrl190sWK90aclbhbBrukVMrX5UynVIweA5JwxAoSrvOu/+AY+nOQ==",
  "shasum": "912478d485f44f3800c4671b99ea4afd1aae1380",
  "tarball": "https://registry.npmjs.org/67373-npm-common/-/67373-npm-common-1.0.4.tgz",
  "fileCount": 4,
  "unpackedSize": 4815,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQC+sV+9TRVkKjLkLJ6iUzlVpHk2g8yoonPto3EqKptwEgIgPaOH8lpX5lw/6E7AnvBwWoKLXwuErktGzNn2aakZamg="
    }
  ]
}

Repository

PENDING
dzwzqlx/67373-npm-common

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:48 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:fd6fe3c2631cdaff8288f655231a0f43d12953a8035fda927b3b64d2a77331e5

Other collected versions

1.0.111 Aug1.0.1019 Jul1.0.919 Jul1.0.819 Jul1.0.712 Jul1.0.612 JulView all collected versions →