https://github.com/visjs/vis-uuid
UUID (version 1 and 4) generation library
https://github.com/visjs/vis-uuid
Last synced: 6 months ago
JSON representation
UUID (version 1 and 4) generation library
- Host: GitHub
- URL: https://github.com/visjs/vis-uuid
- Owner: visjs
- License: apache-2.0
- Archived: true
- Created: 2019-06-09T17:50:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-07T11:45:05.000Z (about 6 years ago)
- Last Synced: 2025-10-19T02:55:54.418Z (8 months ago)
- Language: TypeScript
- Homepage: https://visjs.github.io/vis-uuid/
- Size: 1.4 MB
- Stars: 1
- Watchers: 0
- Forks: 4
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE-2.0
Awesome Lists containing this project
README
# DEPRECATED
## We don't use this library anymore so you shouldn't either.
### use [uuid](https://github.com/uuidjs/uuid)
# Vis UUID
[](https://greenkeeper.io/)
UUID (version 1 and 4) generation library.
Also offers conversion methods between string representation and binary (array of numbers or Uint8Array) representation.
Comes in UMD version for good compatibility and ESM version ready for treeshaking.
This module is a part of the [visjs project](https://github.com/visjs).
## Documentation
## Building the project
Clone the project:
```
git clone https://github.com/visjs/vis-uuid.git
```
Install dependencies:
```
npm i
```
Build the project (builds types, code and docs):
```
npm run build
```
### Building individual parts
- Code: ```npm run build:code```
- Docs: ```npm run build:docs```
- Types: ```npm run build:types```
### Other scripts
- Clean built files: ```npm run clean```
- Lint: ```npm run lint```
- Reformat: ```npm run fix```
- Test: ```npm run build```
- Type check: ```npm run type-check```
## License
This project is dual licensed under
The Apache 2.0 License http://www.apache.org/licenses/LICENSE-2.0
and
The MIT License http://opensource.org/licenses/MIT
Vis UUID may be distributed under either license.
## Original sources
- https://github.com/almende/vis/blob/master/lib/module/uuid.js
- https://github.com/almende/vis/blob/master/test/util.test.js