package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "nanoid",
  3. "version": "3.3.7",
  4. "description": "A tiny (116 bytes), secure URL-friendly unique string ID generator",
  5. "keywords": [
  6. "uuid",
  7. "random",
  8. "id",
  9. "url"
  10. ],
  11. "engines": {
  12. "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
  13. },
  14. "funding": [
  15. {
  16. "type": "github",
  17. "url": "https://github.com/sponsors/ai"
  18. }
  19. ],
  20. "author": "Andrey Sitnik <andrey@sitnik.ru>",
  21. "license": "MIT",
  22. "repository": "ai/nanoid",
  23. "browser": {
  24. "./index.js": "./index.browser.js",
  25. "./async/index.js": "./async/index.browser.js",
  26. "./async/index.cjs": "./async/index.browser.cjs",
  27. "./index.cjs": "./index.browser.cjs"
  28. },
  29. "react-native": "index.js",
  30. "bin": "./bin/nanoid.cjs",
  31. "sideEffects": false,
  32. "types": "./index.d.ts",
  33. "type": "module",
  34. "main": "index.cjs",
  35. "module": "index.js",
  36. "exports": {
  37. ".": {
  38. "browser": "./index.browser.js",
  39. "require": {
  40. "types": "./index.d.cts",
  41. "default": "./index.cjs"
  42. },
  43. "import": {
  44. "types": "./index.d.ts",
  45. "default": "./index.js"
  46. },
  47. "default": "./index.js"
  48. },
  49. "./package.json": "./package.json",
  50. "./async/package.json": "./async/package.json",
  51. "./async": {
  52. "browser": "./async/index.browser.js",
  53. "require": {
  54. "types": "./index.d.cts",
  55. "default": "./async/index.cjs"
  56. },
  57. "import": {
  58. "types": "./index.d.ts",
  59. "default": "./async/index.js"
  60. },
  61. "default": "./async/index.js"
  62. },
  63. "./non-secure/package.json": "./non-secure/package.json",
  64. "./non-secure": {
  65. "require": {
  66. "types": "./index.d.cts",
  67. "default": "./non-secure/index.cjs"
  68. },
  69. "import": {
  70. "types": "./index.d.ts",
  71. "default": "./non-secure/index.js"
  72. },
  73. "default": "./non-secure/index.js"
  74. },
  75. "./url-alphabet/package.json": "./url-alphabet/package.json",
  76. "./url-alphabet": {
  77. "require": {
  78. "types": "./index.d.cts",
  79. "default": "./url-alphabet/index.cjs"
  80. },
  81. "import": {
  82. "types": "./index.d.ts",
  83. "default": "./url-alphabet/index.js"
  84. },
  85. "default": "./url-alphabet/index.js"
  86. }
  87. }
  88. }