You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+3-57
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# node-uuid
1
+
# react-native-uuid
2
2
3
-
Simple, fast generation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDS.
3
+
Simple, fast generation of [RFC4122](http://www.ietf.org/rfc/rfc4122.txt) UUIDS for react native.
4
4
5
5
Features:
6
6
@@ -16,13 +16,7 @@ Features:
16
16
17
17
## Getting Started
18
18
19
-
Install it in your browser:
20
-
21
-
```html
22
-
<scriptsrc="uuid.js"></script>
23
-
```
24
-
25
-
Or in node.js:
19
+
Install the library:
26
20
27
21
```
28
22
npm install react-native-uuid
@@ -201,54 +195,6 @@ options:
201
195
202
196
## Testing
203
197
204
-
In node.js
205
-
206
198
```
207
199
npm test
208
200
```
209
-
210
-
In Browser
211
-
212
-
```
213
-
open test/test.html
214
-
```
215
-
216
-
### Benchmarking
217
-
218
-
Requires node.js
219
-
220
-
```
221
-
npm install uuid uuid-js
222
-
node benchmark/benchmark.js
223
-
```
224
-
225
-
For a more complete discussion of node-uuid performance, please see the `benchmark/README.md` file, and the [benchmark wiki](https://github.com/broofa/node-uuid/wiki/Benchmark)
226
-
227
-
For browser performance [checkout the JSPerf tests](http://jsperf.com/node-uuid-performance).
228
-
229
-
## Release notes
230
-
231
-
### 1.4.6
232
-
233
-
* Properly detect node crypto and whatwg crypto
234
-
* Workaround phantomjs/browserify bug
235
-
* Explicit check for `window` rather implicit this-global
236
-
* Issue warning if Math.random() is being used
237
-
* "use strict";
238
-
* A few jshint / stylistic updates (=== and such)
239
-
240
-
### 1.4.0
241
-
242
-
* Improved module context detection
243
-
* Removed public RNG functions
244
-
245
-
### 1.3.2
246
-
247
-
* Improve tests and handling of v1() options (Issue #24)
248
-
* Expose RNG option to allow for perf testing with different generators
249
-
250
-
### 1.3.0
251
-
252
-
* Support for version 1 ids, thanks to [@ctavan](https://github.com/ctavan)!
253
-
* Support for node.js crypto API
254
-
* De-emphasizing performance in favor of a) cryptographic quality PRNGs where available and b) more manageable code
0 commit comments