2.0.3 • Published 5 months ago

react-native-uuid v2.0.3

Weekly downloads
18,624
License
MIT
Repository
github
Last release
5 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@dittofeed/sdk-react-native@codeleap/mobile@cryptr/cryptr-react-native@communi/chat-ui-react-native@cujonics/react-native-common-kit@pcgnpm/custom-dropdown@paytweed/frontend-sdk-react-native@perceptinsight/percept-react-native@symplify-conversion/sym-mobile-sdk-react-nativejson-deduplicatorlastoragekmandinireact-native-kora-botsdkreact-native-calendar-uisumup-react-native-alphasoldibox-sdktracker-mobile-sdk@amityco/ts-sdk@amityco/ts-sdk-react-native@audrius-sav/react-native-payments@basis-theory/basis-theory-react-native@cere/sdk-js@cloud-varejo/cloud-varejo-ui@acflow/package-example@acflow/react-native-logger-manager@acflow/rnc@adeperio/react-native-queue@coin98-com/connect-sdk@coinbase/mobile-wallet-protocol-host@deliverysolutions/react-native-proximity-sdk@dell-emc/react-native-meeting-sdk@datagee/elementswatermelondb-sqlite3-remote-adapter@featurebuddy/react-native@fawry_pay/rn-fawry-pay-registered-sdk@fawry_pay/rn-fawry-pay-sdk@dytesdk/mobile@ha_tecno/live-id-sdk@hc.ds/mobile@hashgifted/react-native-queue@foqum/redux-offline-crud-rest@hemasai-techenhance/kistt-app@frigade/react-native@good-react-native/keyboard-avoider@goplayerzero/sdk-react-native@lomray/client-helpers-react-native@itmatter/react-native-keycloak-adapter@madeja-studio/cepillo@markopoloai/marktag-mobile-sdk@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@jobber/components-native@journifyio/react-native-sdk@kinescope/react-native-kinescope-video@ko-developerhong/react-native-mqtt@kode-frontend/pathfinder-rn@jbcampbell/react-native-image-cache-hoc@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@onigiri-w2/expo-template@pocke/react-native-puree@polls-platform/core@noveo/dual-rpc-ws@piscale/chat-ui-react-native@openwallet-foundation/eudi-wallet-kit-react-native@optisolbusiness/react-native-s3file-upload@owlnext/heimdall-js-native@pagopa/io-react-native-wallet@skedulo/mex-engine-proxy@spider-mesh/core@sourcetoad/react-native-queue@shopify/shop-minis-runtime@rnw-community/react-native-paymentsmsme-sdkmistica-react-nativeminh-custom-hooks-releasenative-themenative-theme-testordering-ui-native-releaseordering-ui-native-ubanku-release
2.0.3

5 months ago

2.0.2

1 year ago

2.0.1

4 years ago

2.0.0

4 years ago

1.4.9

8 years ago

1.4.8

9 years ago

1.4.7

9 years ago