• Stars
    star
    210
  • Rank 187,585 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

UUID generation for react-native.

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.

react-native-uuid for enterprise

Available as part of the Tidelift Subscription.

The maintainers of react-native-uuid and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.

Contributing

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

Sponsorship

Thank you to our sponsors:

Reactive Lionsβ„’

License

MIT

Copyright (c) 2016-2021 Eugene Hauptmann

More Repositories

1

GCDAsyncSocket

AsyncSocketGCD
Objective-C
74
star
2

trx

trx: Realtime audio over IP
C
59
star
3

react-native-relay-photo-upload

react-native graphql&relay photo upload demo
JavaScript
9
star
4

pdfium

Clone of the https://pdfium.googlesource.com/pdfium/ May 2014
C
8
star
5

react-native-deep-linking

An example of deep linking execution in React Native using TypeScript and react-navigation.
Java
7
star
6

BonjourSSH

iOS sample application Bonjour and SSH
Objective-C
7
star
7

elixir-motiondetection

Motion detection written in Elixir (Erlang) on top of libjpeg
Elixir
4
star
8

PeriscopeHaishinKit.swift

Swift
4
star
9

iBox2

Supports iOS 13, based off https://github.com/KyujuuAlpha/iBox-2, grab images from here https://defuse.ca/bochs-images.htm
C++
4
star
10

node-dynamodb-tools

Export/Import tools for DynamoDB
JavaScript
4
star
11

react-native-benchmark

React Native benchmarking library inspired by benchmark.js and written in TypeScript.
TypeScript
4
star
12

icalts

iCal parser written in pure typescript
TypeScript
4
star
13

example-dating-backend-app

Node.JS+Express+JWT+Passport+Mongodb+Mongoose+Babel
JavaScript
4
star
14

react-native-randomness

Secure generatation of random bytes using native functions in Kotlin and Objective-C.
Java
3
star
15

RNBenchmark

This is a React Native sandbox to test performance of different Random Number Generator (RNG) libraries
Java
3
star
16

mmp

Inspired by www.makemepulse.com
JavaScript
2
star
17

S3uploaderAndElasticTranscoder

AWS SDK based file S3 uploader and Elastic Transcoder Creator
JavaScript
2
star
18

water

webgl example of the water
JavaScript
2
star
19

applepayjs

Apple Pay JS integration with Stripe
2
star
20

gatsby-source-medium-backup

Gatsby plugin to import your medium posts from a backup as markdown files.
JavaScript
2
star
21

ffmbc

clone from https://code.google.com/p/ffmbc/
C
1
star
22

avdecc-pdu

IEEE P1722.1 packet forming and parsing library
C++
1
star
23

zitadel-next-app-js

CSS
1
star
24

openmp-mobile

C++
1
star
25

browsolr

Multiple Solr Core Managers Functional Prototype
JavaScript
1
star
26

gatsby-source-filesystem

JavaScript
1
star
27

RNUUID

This is a sample react-native project to demonstrate functionality of new react-native-uuid typescript release.
Java
1
star
28

spot-sdk-ts

TypeScript bindings based on protobufs (proto3) provided by Boston Dynamics
TypeScript
1
star