项目作者: YahyaAltintop

项目描述 :
Fast and unique guid generator pure Javascript. It is supports Client side and Node.js
高级语言: JavaScript
项目地址: git://github.com/YahyaAltintop/guid-class.git
创建时间: 2021-09-16T18:52:50Z
项目社区:https://github.com/YahyaAltintop/guid-class

开源协议:MIT License

下载


Guid Generator

Create unique Guids.

Usage

For client Javascript

  1. import { Guid } from "../src/guid";
  2. Guid.NewGuid();
  3. // 1q6G3w1U-8F0D-8p9R-7m6m-5b5B7G7B9M9S

For node

  1. let { Guid } = require("../src/guid");
  2. Guid.NewGuid();
  3. // 1a6O3T1V-8f0V-8n8W-8y3V-9b0E1R9Y0N7m

Features

  • Impossible dublicate, because it’s works based on milliseconds
  • It usually executed between 0.1ms and 0.5ms
  • Support node.js and client side

License

MIT License