package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "nanoid",
  3. "version": "3.3.6",
  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. "types": "./index.d.ts",
  39. "browser": "./index.browser.js",
  40. "require": "./index.cjs",
  41. "import": "./index.js",
  42. "default": "./index.js"
  43. },
  44. "./index.d.ts": "./index.d.ts",
  45. "./package.json": "./package.json",
  46. "./async/package.json": "./async/package.json",
  47. "./async": {
  48. "browser": "./async/index.browser.js",
  49. "require": "./async/index.cjs",
  50. "import": "./async/index.js",
  51. "default": "./async/index.js"
  52. },
  53. "./non-secure/package.json": "./non-secure/package.json",
  54. "./non-secure": {
  55. "require": "./non-secure/index.cjs",
  56. "import": "./non-secure/index.js",
  57. "default": "./non-secure/index.js"
  58. },
  59. "./url-alphabet/package.json": "./url-alphabet/package.json",
  60. "./url-alphabet": {
  61. "require": "./url-alphabet/index.cjs",
  62. "import": "./url-alphabet/index.js",
  63. "default": "./url-alphabet/index.js"
  64. }
  65. }
  66. }