@minjs1cn/file-hash
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

@minjs1cn/file-hash

文件hash工具

Usage

获取文件hash

const { getHash } = require('@minjs1cn/file-hash')

const hash = getHash('123')

重命名文件夹所有文件

const { reDir } = require('@minjs1cn/file-hash')

reDir('dist')

恢复文件夹所有文件

const { revokeDir } = require('@minjs1cn/file-hash')

revokeDir('dist')

重命名文件

const { reFile } = require('@minjs1cn/file-hash')

reFile('dist/a.png')

恢复文件

const { revokeFile } = require('@minjs1cn/file-hash')

revokeFile('dist/a.hdwdkwfw.png')

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    1
  • 2.0.1
    0
  • 2.0.0
    0

Package Sidebar

Install

npm i @minjs1cn/file-hash

Weekly Downloads

1

Version

2.0.2

License

ISC

Unpacked Size

9.51 kB

Total Files

11

Last publish

Collaborators

  • minjs1cn