{"id":22119705,"url":"https://github.com/denixport/dart-uuid","last_synced_at":"2025-08-23T19:09:15.608Z","repository":{"id":53565744,"uuid":"133111035","full_name":"denixport/dart-uuid","owner":"denixport","description":"UUID type for Dart. Provides parsing, formatting, generation and comparison of UUIDs as defined by RFC 4122","archived":false,"fork":false,"pushed_at":"2024-08-30T19:48:30.000Z","size":102,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T07:41:22.762Z","etag":null,"topics":["dart","dart-package","dartlang","null-safety","uuid","uuid-generator","uuid-parser","uuid4"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denixport.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-12T03:38:20.000Z","updated_at":"2024-08-30T19:38:16.000Z","dependencies_parsed_at":"2022-09-22T14:26:17.557Z","dependency_job_id":null,"html_url":"https://github.com/denixport/dart-uuid","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/denixport/dart-uuid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denixport%2Fdart-uuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denixport%2Fdart-uuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denixport%2Fdart-uuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denixport%2Fdart-uuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denixport","download_url":"https://codeload.github.com/denixport/dart-uuid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denixport%2Fdart-uuid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267007596,"owners_count":24020260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","dart-package","dartlang","null-safety","uuid","uuid-generator","uuid-parser","uuid4"],"created_at":"2024-12-01T14:16:26.695Z","updated_at":"2025-07-25T12:32:55.495Z","avatar_url":"https://github.com/denixport.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UUID type for Dart\n[![Build Status](https://travis-ci.org/denixport/dart-uuid.svg?branch=master)](https://travis-ci.org/denixport/dart-uuid)\n![Pub](https://img.shields.io/pub/vpre/uuid_type.svg)\n![GitHub](https://img.shields.io/github/license/denixport/dart-uuid.svg)\n\nThis package provides implementation of Universally Unique Identifier \n([UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)) for Dart, \nand supports generation, parsing and formatting of UUIDs.\n \nFeatures:\n* [x] Creates UUID from string and byte-array, as well as GUID and URN strings\n* [x] Provides access to variant, version and byte data of UUID\n* [x] Generates RFC4122 version 1, version 4, or version 5 UUIDs\n* [x] Implements `Comparable` for UUID comparison and lexicographical sorting\n* [x] Runs in web, server, and flutter\n\nRFC Version support:\n- [x] v1, based on timestamp and MAC address\n- [ ] v2, based on timestamp, MAC address and POSIX UID/GID (DCE 1.1) **Not planned**\n- [ ] v3, based on MD5 hashing **Not planned**\n- [x] v4, based on random numbers\n- [x] v5, based on SHA-1 hashing\n- [ ] v6, A re-ordering of UUID version 1 so it is sortable as an opaque sequence of bytes\n- [ ] v7, An entirely new time-based UUID bit layout sourced from the widely implemented and well known Unix Epoch timestamp source\n- [ ] v8, A free-form UUID format which has no explicit requirements except maintaining backward compatibility.\n\n## Requirements\n- Dart SDK \u003e= 2.12.0\n- `crypto` package \n\n## Getting Started\n\n### Installation\n1. Add an entry in your `pubspec.yaml` for `uuid_type`\n```yaml\ndependencies:\n  uuid_type: ^2.1.0\n```\n2. Run `pub get` (`flutter packages get` for Flutter)\n3. Import\n```dart\nimport 'package:uuid_type/uuid_type.dart';\n```\n\n### Usage\nGenerate UUIDs\n```dart\nimport 'package:uuid_type/uuid_type.dart';\n\nvoid main() {\n  var u = TimeUuidGenerator().generate();\n  print(u.toString());\n\n  u = NameUuidGenerator(NameUuidGenerator.urlNamespace).generateFromString('https://dart.dev/');\n  print(u.toString());\n\n  u = RandomUuidGenerator().generate();\n  print(u.toString());\n}\n```\n\nSee more [examples](example/main.dart) and \n[Documentation](https://pub.dartlang.org/documentation/uuid_type/latest/)\n\n## Release notes\nSee [CHANGELOG](CHANGELOG.md)\n\n## Features and Bugs\nPlease file bugs and feature requests at the [issue tracker][tracker].\n\n[tracker]: https://github.com/denixport/dart-uuid/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenixport%2Fdart-uuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenixport%2Fdart-uuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenixport%2Fdart-uuid/lists"}