2.0.2 • Published 2 months ago

react-native-uuid v2.0.2

Weekly downloads
18,624
License
MIT
Repository
github
Last release
2 months ago

react-native-uuid

GitHub license npm npm downloads total npm downloads GitHub watchers GitHub stars GitHub forks open bugs total open issues GitHub pull requests

Packagephobia Bundlephobia

react-native-uuid is a zero-dependency TypeScript implementation of 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.

Heavily inspired by:

Huge thanks to Randy Coulman for the early version of a code.

Getting started

Use this steps to install and create UUIDs. Example project is available here

1. Install

npm install react-native-uuid

2. Create a UUID

import uuid from 'react-native-uuid';
uuid.v4(); // ⇨ '11edc52b-2918-4d71-9058-f7285e29d894'

Documentation

Methods documentation is available here

Troubleshooting

Previous version has been based on randombytes that is not compatible with react-native out of the box. Please submit an issue if you found a bug.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Sponsorship

Thank you to our sponsors:

License

MIT

Copyright (c) 2016-2024 Eugene Hauptmann

@amityco/ts-sdk@infinitebrahmanuniverse/nolb-react-native-uordering-ui-react-native@everything-registry/sub-chunk-2597@cmillett2/publish-testingradmat-united-apphivemind-sharedlagertha_jslastoragemanual-billing-system-miniapplikeminds_chat_reactnative_integration_betalitebase-rn-sdkkmandinireact-native-kora-botsdkdu-order-examplefilum-react-nativeflutter-react-nativefndbexpo-alarm-moduleexpo-paypal-checkoutf2c-serverfusedeck-mobile-sdk-react-nativefindme-formsordering-ui-native-releaseordering-ui-native-ubanku-releaseonmarketer-sdknoibu-react-nativenv-react-nativenative-themenative-theme-testmistica-react-nativeposts-managerphonepereact-native-databasereact-native-image-cache-hocreact-native-infra-did-protocol-devreact-native-fchatappreact-native-bank-sdkreact-native-chatgptreact-native-calendar-uireact-native-cached-image-storereact-native-bugviewreact-native-bugview-v2react-native-chatvtreact-native-cos-sdksalet-react-native-chat-componentsrn-async-sessionsabertooth-corereact-native-queuereact-native-queue-asyncstoragereact-native-queue-digicredreact-native-queue-moskitoreact-native-phonepesdkreact-native-pureereact-native-pixel-playerreact-native-pixel-video-playerreact-native-pixel-forumreact-native-logg-handlerreact-native-loginreact-native-keycloak-adapterreact-native-musicreact-native-newestapps-pushreact-native-accessibility-actionsreact-native-hs-toastreact-native-async-storage-listenerreact-native-wisebacksdk-modulereact-native-woosmap-geofencing-pluginreact-native-kore-botsdkreact-native-mna-webviewreact-native-sparkle-ai-chatreact-native-stepup-jitsireact-native-use-qilireact-native-vaultrenaissance-uirn-erxes-sdkrn-erxes-sdk-2rn-azure-communication-chatrn-wappsto-networksrnchatbotrn-queuetracker-mobile-sdksmaxtec-react-native-queuesoldibox-sdkskyflow-react-nativetest-trxact-io@polls-platform/core@pocke/react-native-puree@perceptinsight/percept-react-native@netless/react-native-bridge@netless/react-native-fastboard@netless/react-native-webview-bridge@pubnub/react-chat-components@pubnub/react-native-chat-components@featurebuddy/react-native@fawry_pay/rn-fawry-pay-registered-sdk@fawry_pay/rn-fawry-pay-sdk@frigade/react-native@quinninc/rn-core@riversilica_narendra/react-native-uuid-2.0.1@riversilica_narendra/ios
2.0.2

2 months ago

2.0.1

3 years ago

2.0.0

3 years ago

1.4.9

7 years ago

1.4.8

8 years ago

1.4.7

8 years ago