{"id":13552475,"url":"https://github.com/daegalus/dart-uuid","last_synced_at":"2025-05-14T10:14:21.041Z","repository":{"id":3865885,"uuid":"4951355","full_name":"daegalus/dart-uuid","owner":"daegalus","description":"Generate RFC9562(v1,v4,v5,v6,v7,v8) UUIDs","archived":false,"fork":false,"pushed_at":"2025-02-22T20:31:58.000Z","size":2291,"stargazers_count":389,"open_issues_count":2,"forks_count":79,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-31T16:36:11.919Z","etag":null,"topics":["dart","dartlang","hacktoberfest","uuid"],"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/daegalus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"yulian","custom":["https://paypal.me/yuliank","https://cash.app/$yulian","https://venmo.com/yuliank"]}},"created_at":"2012-07-09T00:38:35.000Z","updated_at":"2025-03-24T20:37:54.000Z","dependencies_parsed_at":"2024-03-29T18:46:52.979Z","dependency_job_id":"f36c9a4b-8828-4db7-be72-8f362be9b96b","html_url":"https://github.com/daegalus/dart-uuid","commit_stats":{"total_commits":258,"total_committers":39,"mean_commits":6.615384615384615,"dds":0.2906976744186046,"last_synced_commit":"77c3a33ed704c217ec8f4a57915d5d97dd86fc9e"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daegalus%2Fdart-uuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daegalus%2Fdart-uuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daegalus%2Fdart-uuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daegalus%2Fdart-uuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daegalus","download_url":"https://codeload.github.com/daegalus/dart-uuid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248338486,"owners_count":21087208,"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","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","dartlang","hacktoberfest","uuid"],"created_at":"2024-08-01T12:02:04.577Z","updated_at":"2025-04-11T03:38:50.051Z","avatar_url":"https://github.com/daegalus.png","language":"Dart","funding_links":["https://ko-fi.com/yulian","https://paypal.me/yuliank","https://cash.app/$yulian","https://venmo.com/yuliank"],"categories":["Dart"],"sub_categories":[],"readme":"# uuid\r\n\r\n**Version 4.x.x is a complete redesign of the underlying setup, but tries to be API compatible or similar to 3.x.**\r\n\r\n**UuidValue is still Experimental and the API for it is in flux, please pay attention to changelogs and versions.**\r\n\r\n[![Build Status](https://github.com/Daegalus/dart-uuid/workflows/Dart/badge.svg?branch=main\u0026event=push)](https://github.com/Daegalus/dart-uuid/actions)\r\n\r\nSimple, fast generation of [RFC4122](https://www.ietf.org/rfc/rfc4122.txt) and [RFC9562](https://www.rfc-editor.org/rfc/rfc9562.html) UUIDs.\r\n\r\nFeatures:\r\n\r\n* Generate RFC4122 version 1, version 4, or version 5 UUIDs\r\n* Supports RFC9562 version 6, version 7, and version 8\r\n* Runs in web, server, and flutter\r\n* Cryptographically strong random number generation on all platforms\r\n* [Documentation](https://daegalus.github.io/dart-uuid/index.html)\r\n\r\n## Getting Started\r\n\r\n### Instructions\r\n\r\n1. Open a command line and cd to your projects root folder\r\n2. In your pubspec, add an entry for dart-uuid to your dependencies (example below)\r\n3. pub install\r\n4. If you wish to run tests, go into packages/dart-uuid/ and run 'dart test/uuid_test.dart'\r\n\r\n### Pubspec\r\n\r\n```yaml\r\ndependencies:\r\n  uuid: ^4.4.2\r\n```\r\n\r\n```dart\r\nimport 'package:uuid/uuid.dart';\r\n\r\nvar uuid = Uuid();\r\n```\r\n\r\nThen create some ids ...\r\n\r\n```dart\r\n// Generate a v1 (time-based) id\r\nuuid.v1(); // -\u003e '6c84fb90-12c4-11e1-840d-7b25c5ee775a'\r\n\r\n// Generate a v4 (random) id\r\nuuid.v4(); // -\u003e '110ec58a-a0f2-4ac4-8393-c866d813b8d1'\r\n\r\n// Generate a v5 (namespace-name-sha1-based) id\r\nuuid.v5(Uuid.NAMESPACE_URL, 'www.google.com'); // -\u003e 'c74a196f-f19d-5ea9-bffd-a2742432fc9c'\r\n```\r\n\r\n## Documentation\r\n\r\nFor documentation, please visit the [Documentation](https://daegalus.github.io/dart-uuid/index.html) page. Examples are included for most functions and classes.\r\n\r\nFor more complex examples and other usages, please look at the [tests](test/uuid_test.dart).\r\n\r\n## Release notes\r\n\r\nSee [CHANGELOG](CHANGELOG.md)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaegalus%2Fdart-uuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaegalus%2Fdart-uuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaegalus%2Fdart-uuid/lists"}