没有合适的资源?快使用搜索试试~ 我知道了~
人形:具有相应哈希值的难忘且合理的抗碰撞标识符
共34个文件
json:11个
ts:8个
md:5个
需积分: 5 0 下载量 65 浏览量
2021-02-12
07:08:17
上传
评论
收藏 85KB ZIP 举报
温馨提示
人证 具有相应哈希值的难忘且合理的抗碰撞标识符; 使用Node v12.13.0和Typescript构建。 安装 npm i --save @shovelandsandbox/humanid或yarn add @shovelandsandbox/humanid 用法 import { humanid , isSegmentGenerator } from '@shovelandsandbox/humanid' const getSuffix = ( ) => 'randomSuffix' const [ id , hash ] = humanid ( ) const [ id2 ] = humanid ( { suffix : getSuffix } ) console . log ( isSegmentGenerator ( getSuffix ) ) // true console
资源推荐
资源详情
资源评论
收起资源包目录
humanid-master.zip (34个子文件)
humanid-master
.gitignore 190B
package.json 4KB
tslint.json 719B
package-lock.json 261KB
src
types
json.d.ts 468B
example.d.ts 1KB
dictionaries
adjectives.json 13KB
color-attributes.json 107B
animals.json 2KB
colors.json 489B
index.ts 86B
lib
hash.ts 969B
humanid.spec.ts 708B
hash.spec.ts 358B
humanid.ts 2KB
index.ts 125B
.nvmrc 9B
.travis.yml 198B
LICENSE 1KB
CHANGELOG.md 1KB
tsconfig.json 2KB
tsconfig.module.json 230B
.github
PULL_REQUEST_TEMPLATE.md 261B
ISSUE_TEMPLATE.md 354B
CONTRIBUTING.md 257B
FUNDING.yml 21B
.prettierignore 82B
README.md 2KB
.vscode
settings.json 296B
launch.json 1KB
debug-ts.js 1012B
.npmignore 160B
.editorconfig 257B
.prettierrc 83B
共 34 条
- 1
资源评论
马雁飞
- 粉丝: 18
- 资源: 4520
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功