{
  "name": "nanoid",
  "version": "5.0.9",
  "description": "A tiny (118 bytes), secure URL-friendly unique string ID generator",
  "keywords": [
    "uuid",
    "random",
    "id",
    "url"
  ],
  "scripts": {
    "clean": "rm -rf coverage",
    "start": "vite test/demo/ --open",
    "test:coverage": "c8 bnt",
    "test:lint": "eslint .",
    "test:size": "pnpm clean && size-limit",
    "test": "pnpm run /^test:/"
  },
  "type": "module",
  "engines": {
    "node": "^18 || >=20"
  },
  "funding": [
    {
      "type": "github",
      "url": "https://github.com/sponsors/ai"
    }
  ],
  "author": "Andrey Sitnik <andrey@sitnik.ru>",
  "license": "MIT",
  "repository": "ai/nanoid",
  "exports": {
    ".": {
      "browser": "./index.browser.js",
      "require": "./index.cjs",
      "import": "./index.js"
    },
    "./non-secure": {
      "require": "./non-secure/index.cjs",
      "import": "./non-secure/index.js"
    },
    "./package.json": "./package.json"
  },
  "browser": {
    "./index.js": "./index.browser.js"
  },
  "react-native": {
    "./index.js": "./index.browser.js"
  },
  "bin": "./bin/nanoid.js",
  "sideEffects": false,
  "types": "./index.d.ts",
  "devDependencies": {
    "@babel/core": "^7.26.0",
    "@logux/eslint-config": "^53.5.1",
    "@lukeed/uuid": "^2.0.1",
    "@napi-rs/uuid": "^0.2.2",
    "@originjs/vite-plugin-commonjs": "^1.0.3",
    "@size-limit/file": "^11.1.6",
    "@size-limit/webpack": "^11.1.6",
    "@types/node": "^22.9.3",
    "better-node-test": "^0.7.1",
    "c8": "^10.1.2",
    "clean-publish": "^5.1.0",
    "eslint": "^9.15.0",
    "rndm": "^1.2.0",
    "secure-random-string": "^1.1.4",
    "shortid": "^2.2.16",
    "size-limit": "^11.1.6",
    "terser": "^5.36.0",
    "tinybench": "^3.0.6",
    "uid": "^2.0.2",
    "uid-safe": "^2.1.5",
    "uuid": "^11.0.3",
    "vite": "^5.4.11"
  },
  "size-limit": [
    {
      "name": "nanoid",
      "import": "{ nanoid }",
      "limit": "118 B"
    },
    {
      "name": "customAlphabet",
      "import": "{ customAlphabet }",
      "limit": "163 B"
    },
    {
      "name": "urlAlphabet",
      "import": "{ urlAlphabet }",
      "limit": "47 B"
    },
    {
      "name": "non-secure nanoid",
      "import": "{ nanoid }",
      "path": "non-secure/index.js",
      "limit": "90 B"
    },
    {
      "name": "non-secure customAlphabet",
      "import": "{ customAlphabet }",
      "path": "non-secure/index.js",
      "limit": "55 B"
    }
  ],
  "prettier": {
    "arrowParens": "avoid",
    "jsxSingleQuote": false,
    "quoteProps": "consistent",
    "semi": false,
    "singleQuote": true,
    "trailingComma": "none"
  },
  "clean-publish": {
    "cleanDocs": true,
    "cleanComments": true
  },
  "c8": {
    "exclude": [
      "bin/nanoid.js",
      "**/*.test.*",
      "test/*"
    ],
    "lines": 100,
    "check-coverage": true,
    "reporter": [
      "text",
      "lcov"
    ],
    "skip-full": true,
    "clean": true
  }
}
