Codebase list node-uniqid / run/e32b391c-3bab-4032-a79b-cd1ad98c69bf/upstream
Import upstream version 5.4.0+git20210914.1.8658479 Debian Janitor 1 year, 5 months ago
2 changed file(s) with 32 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3030 console.log(uniqid()); // -> 4n5pxq24kpiob12og9
3131 console.log(uniqid(), uniqid()); // -> 4n5pxq24kriob12ogd, 4n5pxq24ksiob12ogl
3232 ```
33
34 ## Usage in Browser
35 Take advantage of content delivery networks for Prototyping/Mockups
36 ```html
37 <!DOCTYPE html>
38 <html lang="en">
39
40 <head>
41 <script src="https://unpkg.com/browse/uniqid@5.5.0/UMD/uniqid.min.js"></script>
42 <script>
43 alert(`Here is an ID: ${uniqid()}`)
44 </script>
45
46 <title>Your App</title>
47 </head>
48
49 <body>
50
51 </body>
52
53 </html>
54 ```
55
56
3357
3458 ## Features
3559
00 {
11 "name": "uniqid",
2 "version": "5.4.0",
2 "version": "5.3.0",
33 "description": "Unique ID Generator",
44 "homepage": "http://github.com/adamhalasz/uniqid/",
55 "keywords": [
2727 },
2828 "main": "index.js",
2929 "dependencies": {},
30 "devDependencies": {}
30 "devDependencies": {
31 "webpack": "^5.52.0",
32 "webpack-cli": "^4.8.0"
33 },
34 "scripts":{
35 "build":"webpack"
36 }
3137 }