2.0.3 • Published 12 months ago

react-native-uuid v2.0.3

Weekly downloads
18,624
License
MIT
Repository
github
Last release
12 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

@infinitebrahmanuniverse/nolb-react-native-u@everything-registry/sub-chunk-2597@cmillett2/publish-testingradmat-united-appxhfkindergarten-react-native-cos-sdktest-trxact-iov2-reactnative-reclaim-sdkvexo-analyticsexpo-paypal-checkout@cujonics/react-native-common-kit@symplify-conversion/sym-mobile-sdk-react-nativejson-deduplicatorlastoragehivemind-sharedlikeminds_chat_reactnative_integration_betalitebase-rn-sdkmanual-billing-system-miniapplagertha_js@widergy/mobile-ui@woosmap/react-native-plugin-geofencing@woosmap/react-native-woosmap@trulioo/docv-capture@types/react-native-uuid@thinknimble/tn-forms@universal-labs/stylesheets@toannguyen1510/rn-social-login@theoplayer/react-native-analytics-agama@telnyx/video-react-native@tonder.io/srn-temp@vonage/client-sdk-video-react-native@zionchat/use-zionalarm-test-nidilapadvents-react-nativeaotinodeaskaround-qservicesaskaround-rn-libarchitected-crypto-helper-rn@goplayerzero/sdk-react-native@good-react-native/keyboard-avoider@ha_tecno/live-id-sdk@hashgifted/react-native-queuekmandinireact-native-kora-botsdkreact-native-calendar-uisumup-react-native-alphasoldibox-sdktracker-mobile-sdkwatermelondb-sqlite3-remote-adapter@hemasai-techenhance/kistt-app@lomray/client-helpers-react-nativemsme-sdkmistica-react-nativeminh-custom-hooks-releasenative-themenative-theme-testordering-ui-native-releaseordering-ui-native-ubanku-releaseordering-ui-react-nativeopentok-react-nativeonmarketer-sdknv-react-nativereact-native-chatvtreact-native-mna-webviewreact-native-kore-bot-socket-devreact-native-kore-bot-template-devreact-native-kore-botsdkreact-native-kore-botsdk-devreact-native-kore-botsdk-qareact-native-kore-botsdk-testreact-native-infra-did-protocol-devreact-native-fchatappreact-native-hs-toastreact-native-image-cache-hocrn-kore-bot-socket-sdkrn-kore-bot-socket-sdk-76-devrn-kore-bot-socket-sdk-devrn-kore-bot-templatesrn-liquid-designrn-kore-bot-sdkrn-kore-bot-sdk-74rn-kore-bot-sdk-74-devrn-kore-bot-sdk-devrn-kore-bot-templates-69rn-kore-bot-templates-69-devrn-kore-bot-templates-devrn-wappsto-networksrn-azure-communication-chatrn-async-sessionrnchatbotrn-erxes-sdkrn-erxes-sdk-2rn-queuereact-native-accessibility-actionsreact-native-bugviewreact-native-bugview-v2react-native-bank-sdkreact-native-chatgptreact-native-async-storage-listenerreact-native-cached-image-storereact-native-amazon-ivs-stages
2.0.3

12 months ago

2.0.2

2 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.4.9

9 years ago

1.4.8

9 years ago

1.4.7

9 years ago