We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9591181 commit dfcfcc6Copy full SHA for dfcfcc6
test/benchmark.js
@@ -13,6 +13,7 @@ import uidSafe from 'uid-safe'
13
import { uid as uidSecure } from 'uid/secure'
14
import { v4 as uuid4 } from 'uuid'
15
16
+import { nanoid as browser } from '../index.browser.js'
17
import { customAlphabet, nanoid } from '../index.js'
18
import { nanoid as nonSecure } from '../non-secure/index.js'
19
@@ -48,6 +49,9 @@ suite
48
49
.add('customAlphabet', () => {
50
nanoid2()
51
})
52
+ .add('nanoid for browser', () => {
53
+ browser()
54
+ })
55
.add('secure-random-string', () => {
56
srs()
57
0 commit comments