{
  "name": "@huggingface/transformers",
  "version": "3.3.3",
  "description": "State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!",
  "main": "./src/transformers.js",
  "types": "./types/transformers.d.ts",
  "type": "module",
  "exports": {
    "node": {
      "import": {
        "types": "./types/transformers.d.ts",
        "default": "./dist/transformers.mjs"
      },
      "require": {
        "types": "./types/transformers.d.ts",
        "default": "./dist/transformers.cjs"
      }
    },
    "default": {
      "types": "./types/transformers.d.ts",
      "default": "./dist/transformers.js"
    }
  },
  "scripts": {
    "format": "prettier --write .",
    "format:check": "prettier --check .",
    "typegen": "tsc --build",
    "dev": "webpack serve --no-client-overlay",
    "build": "webpack && npm run typegen",
    "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
    "readme": "python ./docs/scripts/build_readme.py",
    "docs-api": "node ./docs/scripts/generate.js",
    "docs-preview": "doc-builder preview transformers.js ./docs/source/ --not_python_module",
    "docs-build": "doc-builder build transformers.js ./docs/source/ --not_python_module --build_dir ./docs/build/"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/huggingface/transformers.js.git"
  },
  "keywords": [
    "transformers",
    "transformers.js",
    "huggingface",
    "hugging face",
    "machine learning",
    "deep learning",
    "artificial intelligence",
    "AI",
    "ML"
  ],
  "author": "Hugging Face",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/huggingface/transformers.js/issues"
  },
  "homepage": "https://github.com/huggingface/transformers.js#readme",
  "dependencies": {
    "@huggingface/jinja": "^0.3.3",
    "onnxruntime-node": "1.20.1",
    "onnxruntime-web": "1.21.0-dev.20250206-d981b153d3",
    "sharp": "^0.33.5"
  },
  "devDependencies": {
    "@types/jest": "^29.5.14",
    "@types/node": "^22.10.1",
    "@webgpu/types": "^0.1.51",
    "catharsis": "github:xenova/catharsis",
    "jest": "^30.0.0-alpha.6",
    "jest-environment-node": "^30.0.0-alpha.6",
    "jsdoc-to-markdown": "^9.1.1",
    "prettier": "3.4.2",
    "typescript": "^5.7.2",
    "wavefile": "11.0.0",
    "webpack": "^5.97.1",
    "webpack-cli": "^5.1.4",
    "webpack-dev-server": "^5.1.0"
  },
  "files": [
    "src",
    "dist",
    "types",
    "README.md",
    "LICENSE"
  ],
  "browser": {
    "fs": false,
    "path": false,
    "url": false,
    "sharp": false,
    "onnxruntime-node": false
  },
  "publishConfig": {
    "access": "public"
  },
  "jsdelivr": "./dist/transformers.min.js",
  "unpkg": "./dist/transformers.min.js"
}
