【文件属性】:
文件名称:leizm-utils:一些常用的工具函数
文件大小:428KB
文件格式:ZIP
更新时间:2021-05-28 08:30:11
JavaScript
node- @ leizm / utils
支持TypeScript
安装
$ npm install @leizm/utils --save
一些常用的工具函数
bugfree (doNotOutput)
format (...args)
sha1 (text)
md5 (text)
fileSha1 (filename, callback)
fileMd5 (filename, callback)
hash (method, text)
encryptPassword (password)
validatePassword (password, encrypted)
encryptData (data, secret)
decryptData (str, secret)
randomString (size, chars)
randomNumber (size)
【文件预览】:
leizm-utils-master
----.gitignore(587B)
----tsconfig.json(205B)
----README.md(2KB)
----test()
--------test_base.js(2KB)
--------test_promise.js(4KB)
----docs()
--------index.js.html(27KB)
--------global.html(62KB)
--------fonts()
--------scripts()
--------styles()
--------index.html(3KB)
----LICENSE(1KB)
----package.json(995B)
----renovate.json(41B)
----tools()
--------README.tpl.md(1KB)
--------build_docs.js(1KB)
----lib()
--------lei-utils-tests.ts(429B)
--------index.js(23KB)
--------index.d.ts(5KB)
--------bugfree.js(1KB)
----.prettierrc.js(106B)