{"id":13709928,"url":"https://github.com/eugenehp/react-native-uuid","last_synced_at":"2025-05-14T21:07:04.131Z","repository":{"id":49884105,"uuid":"61577985","full_name":"eugenehp/react-native-uuid","owner":"eugenehp","description":"UUID generation for react-native.","archived":false,"fork":false,"pushed_at":"2025-01-18T22:29:34.000Z","size":575,"stargazers_count":274,"open_issues_count":1,"forks_count":35,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-14T11:27:09.246Z","etag":null,"topics":["random","react-native","typescript","uuid"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/eugenehp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"tidelift":"npm/react-native-uuid"}},"created_at":"2016-06-20T20:26:47.000Z","updated_at":"2025-05-13T23:15:23.000Z","dependencies_parsed_at":"2024-03-14T21:41:15.127Z","dependency_job_id":"1e473aaa-b487-4340-8691-0ee09ea2e170","html_url":"https://github.com/eugenehp/react-native-uuid","commit_stats":{"total_commits":27,"total_committers":5,"mean_commits":5.4,"dds":"0.18518518518518523","last_synced_commit":"f9dd5e0a73a8e30d14c071b1568654bf185f8cc1"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Freact-native-uuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Freact-native-uuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Freact-native-uuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenehp%2Freact-native-uuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugenehp","download_url":"https://codeload.github.com/eugenehp/react-native-uuid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254160634,"owners_count":22024574,"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":["random","react-native","typescript","uuid"],"created_at":"2024-08-02T23:00:48.677Z","updated_at":"2025-05-14T21:06:59.112Z","avatar_url":"https://github.com/eugenehp.png","language":"TypeScript","funding_links":["https://tidelift.com/funding/github/npm/react-native-uuid"],"categories":["TypeScript"],"sub_categories":[],"readme":"# react-native-uuid\n\n[![GitHub license](https://img.shields.io/github/license/eugenehp/react-native-uuid.svg?color=blue\u0026style=for-the-badge)](./LICENSE)\n[![npm](https://img.shields.io/npm/v/react-native-uuid.svg?color=green\u0026style=for-the-badge)](https://www.npmjs.com/package/react-native-uuid)\n[![npm downloads](https://img.shields.io/npm/dw/react-native-uuid.svg?label=npm%20downloads\u0026style=for-the-badge)](https://npmcharts.com/compare/react-native-uuid?minimal=true)\n[![total npm downloads](https://img.shields.io/npm/dt/react-native-uuid.svg?label=total%20npm%20downloads\u0026style=for-the-badge)](https://npmcharts.com/compare/react-native-uuid?minimal=true)\n[![GitHub watchers](https://img.shields.io/github/watchers/eugenehp/react-native-uuid.svg?style=for-the-badge)](https://github.com/eugenehp/react-native-uuid/watchers)\n[![GitHub stars](https://img.shields.io/github/stars/eugenehp/react-native-uuid.svg?label=GitHub%20stars\u0026style=for-the-badge)](https://github.com/eugenehp/react-native-uuid/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/eugenehp/react-native-uuid.svg?style=for-the-badge)](https://github.com/eugenehp/react-native-uuid/network/members)\n[![open bugs](https://img.shields.io/github/issues-raw/eugenehp/react-native-uuid/bug.svg?color=d73a4a\u0026label=open%20bugs\u0026style=for-the-badge)](https://github.com/eugenehp/react-native-uuid/issues?utf8=%E2%9C%93\u0026q=is%3Aissue+is%3Aopen+label%3Abug)\n[![total open issues](https://img.shields.io/github/issues-raw/eugenehp/react-native-uuid.svg?label=total%20open%20issues\u0026style=for-the-badge)](https://github.com/eugenehp/react-native-uuid/issues)\n[![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/eugenehp/react-native-uuid.svg?style=for-the-badge)](https://github.com/eugenehp/react-native-uuid/pulls)\n\n[![Packagephobia](https://badgen.net/packagephobia/install/react-native-uuid)](https://packagephobia.com/result?p=react-native-uuid)\n[![Bundlephobia](https://badgen.net/bundlephobia/min/react-native-uuid)](https://bundlephobia.com/result?p=react-native-uuid@2.0.0)\n\n`react-native-uuid` is a zero-dependency TypeScript implementation of [RFC4122](https://tools.ietf.org/html/rfc4122) standard **A Universally Unique IDentifier (UUID) URN Namespace**. Please note, this library uses pseudo random generator based on top of `Math.random`. New version with hardware support is WIP.\n\n**Heavily inspired by:**\n\n- [uuid](https://github.com/uuidjs/uuid)\n- [pure-uuid](https://github.com/rse/pure-uuid)\n- [nanoid](https://www.npmjs.com/package/nanoid)\n\nHuge thanks to [Randy Coulman](https://github.com/randycoulman) for the early version of a code.\n\n## Getting started\n\nUse this steps to install and create UUIDs. Example project is available [here](https://github.com/eugenehp/RNUUID)\n\n### 1. Install\n\n```shell\nnpm install react-native-uuid\n```\n\n### 2. Create a UUID\n\n```javascript\nimport uuid from 'react-native-uuid';\nuuid.v4(); // ⇨ '11edc52b-2918-4d71-9058-f7285e29d894'\n```\n\n## Documentation\n\nMethods documentation is available [here](./docs/modules.md)\n\n## Troubleshooting\n\nPrevious version has been based on `randombytes` that is not compatible with react-native out of the box.\nPlease submit an [issue](https://github.com/eugenehp/react-native-uuid/issues) if you found a bug.\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## Sponsorship\n\nThank you to our sponsors:\n\n[\u003cimg width=\"300px\" src=\"https://user-images.githubusercontent.com/1857263/114124204-c4e1eb80-98a8-11eb-80ab-64683c24bbc5.png\" alt=\"Reactive Lions™\" target=\"_blank\"\u003e](https://www.reactivelions.com)\n\n## License\n\n[MIT](./LICENSE)\n\nCopyright (c) 2016-2025 Eugene Hauptmann\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenehp%2Freact-native-uuid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugenehp%2Freact-native-uuid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenehp%2Freact-native-uuid/lists"}