{
  "name": "linguist-sense",
  "version": "2.4.1",
  "description": "Lightweight JavaScript wrapper for GitHub Linguist’s language detection. Detects programming languages via file extensions and file content using Linguist’s official language definitions.",
  "type": "commonjs",
  "main": "./dist/cjs/index.js",
  "module": "./dist/mjs/index.mjs",
  "types": "dist/index.d.ts",
  "scripts": {
    "===================== build ======================": "",
    "build": "npm run build:clean && npm run build:bundle",
    "dev": "node ./build/watch.mjs",
    "====================== npm =======================": "",
    "package-test": "npm pack --dry-run",
    "package": "npm pack",
    "prepack": "npm run build && npm run docs:generate",
    "====================== docs ======================": "",
    "docs:generate": "tsc",
    "===================== utils ======================": "",
    "build:clean": "node ./build/cleanOutput.mjs -f dist",
    "build:bundle": "node ./build/esbuild.mjs",
    "===================== testing ====================": "",
    "test": "jest"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js",
      "default": "./dist/cjs/index.js"
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Rainymy/linguist-sense.git"
  },
  "files": [
    "dist/*"
  ],
  "keywords": [
    "linguist",
    "language-detection",
    "language-identifier",
    "github-linguist",
    "extension-detection",
    "file-content-detection"
  ],
  "author": "Rainymy",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/Rainymy/linguist-sense/issues"
  },
  "homepage": "https://github.com/Rainymy/linguist-sense",
  "devDependencies": {
    "@types/node": "^22.15.17",
    "esbuild": "^0.25.3",
    "esbuild-plugin-yaml": "^0.0.1",
    "typescript": "^5.8.3"
  },
  "dependencies": {
    "oniguruma-to-es": "^4.3.1"
  },
  "sideEffects": false,
  "engines": {
    "node": ">=10.0.0"
  }
}
