2.0.3 • Published 11 months ago

react-native-uuid v2.0.3

Weekly downloads
18,624
License
MIT
Repository
github
Last release
11 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@pcgnpm/custom-dropdown@paytweed/frontend-sdk-react-native@perceptinsight/percept-react-native@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@atlantjs/arch@audrius-sav/react-native-payments@goplayerzero/sdk-react-native@good-react-native/keyboard-avoider@dytesdk/mobile@cloud-varejo/cloud-varejo-ui@ha_tecno/live-id-sdk@acflow/package-example@acflow/react-native-logger-manager@acflow/rnc@adeperio/react-native-queue@hashgifted/react-native-queue@coin98-com/connect-sdk@airtake/react-native@codeleap/mobile@contentpass/react-native-contentpass@communi/chat-ui-react-native@coinbase/mobile-wallet-protocol-host@amityco/ts-sdk@amityco/ts-sdk-react-nativekmandinireact-native-kora-botsdkreact-native-calendar-uisumup-react-native-alphasoldibox-sdktracker-mobile-sdk@basis-theory/basis-theory-react-native@cere/sdk-jswatermelondb-sqlite3-remote-adapter@hemasai-techenhance/kistt-app@lomray/client-helpers-react-native@netless/react-native-bridge@netless/react-native-fastboard@netless/react-native-webview-bridge@nevis-security/nevis-mobile-authentication-sdk-react@mitter-io/react-native@mnightingale/react-native-image-cache-hoc@kinescope/react-native-kinescope-video@ko-developerhong/react-native-mqtt@kode-frontend/pathfinder-rn@pubnub/react-chat-components@pubnub/react-native-chat-components@rallyware/sdk-react-native-components@quinninc/rn-core@reclaimprotocol/reactnative-sdk@retter/rn-sdk@riversilica_narendra/android@riversilica_narendra/ios@riversilica_narendra/react-native-uuid-2.0.1@pocke/react-native-puree@polls-platform/core@piscale/chat-ui-react-native@owlnext/heimdall-js-native@pagopa/io-react-native-wallet@rnw-community/react-native-paymentsmsme-sdkmistica-react-nativeminh-custom-hooks-releasenative-themenative-theme-test
2.0.3

11 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