文件名称:fake-uuid:为您的简单ID轻松阅读uuid
文件大小:19KB
文件格式:ZIP
更新时间:2024-06-04 00:39:24
JavaScript
假乌伊德 确定性且易于阅读的UUID(用于简单ID) 概要 const uuid = require ( "fake-uuid" ) ; uuid ( "1234567890123456789012345678901234567890" ) ; // 12345678-9012-3456-7890-123456789012 uuid ( "123" ) ; // 123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa uuid ( "xxx123" ) ; // 123aaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa uuid ( 123 ) === uuid ( 123 ) ; // TRUE uuid ( "123" ) === uuid ( 123 ) ; // TRUE uuid ( "xxx123" ) === uuid ( 123 ) ;
【文件预览】:
fake-uuid-master
----lib()
--------index.js(1KB)
----LICENSE(1KB)
----test()
--------index.js(733B)
----README.md(869B)
----.editorconfig(535B)
----.gitignore(3KB)
----.prettierrc.js(65B)
----package-lock.json(54KB)
----package.json(640B)