{
  "_args": [
    [
      "encoding-sniffer@0.2.0",
      "/var/www/html/api.shopperr.in"
    ]
  ],
  "_from": "encoding-sniffer@0.2.0",
  "_id": "encoding-sniffer@0.2.0",
  "_inBundle": false,
  "_integrity": "sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg==",
  "_location": "/encoding-sniffer",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "encoding-sniffer@0.2.0",
    "name": "encoding-sniffer",
    "escapedName": "encoding-sniffer",
    "rawSpec": "0.2.0",
    "saveSpec": null,
    "fetchSpec": "0.2.0"
  },
  "_requiredBy": [
    "/cheerio"
  ],
  "_resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.0.tgz",
  "_spec": "0.2.0",
  "_where": "/var/www/html/api.shopperr.in",
  "author": {
    "name": "Felix Boehm",
    "email": "me@feedic.com"
  },
  "bugs": {
    "url": "https://github.com/fb55/encoding-sniffer/issues"
  },
  "dependencies": {
    "iconv-lite": "^0.6.3",
    "whatwg-encoding": "^3.1.1"
  },
  "description": "Implementation of the HTML encoding sniffer algo, with stream support",
  "devDependencies": {
    "@types/jest": "^29.5.12",
    "@types/node": "^20.14.2",
    "@types/whatwg-encoding": "^2.0.3",
    "@typescript-eslint/eslint-plugin": "^7.13.0",
    "@typescript-eslint/parser": "^7.13.0",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-n": "^17.9.0",
    "eslint-plugin-unicorn": "^54.0.0",
    "jest": "^29.7.0",
    "prettier": "^3.3.2",
    "ts-jest": "^29.1.4",
    "tshy": "^1.15.1",
    "typedoc": "^0.25.13",
    "typescript": "^5.4.5"
  },
  "exports": {
    ".": {
      "import": {
        "source": "./src/index.ts",
        "types": "./dist/esm/index.d.ts",
        "default": "./dist/esm/index.js"
      },
      "require": {
        "source": "./src/index.ts",
        "types": "./dist/commonjs/index.d.ts",
        "default": "./dist/commonjs/index.js"
      }
    },
    "./sniffer": {
      "import": {
        "source": "./src/sniffer.ts",
        "types": "./dist/esm/sniffer.d.ts",
        "default": "./dist/esm/sniffer.js"
      },
      "require": {
        "source": "./src/sniffer.ts",
        "types": "./dist/commonjs/sniffer.d.ts",
        "default": "./dist/commonjs/sniffer.js"
      }
    }
  },
  "files": [
    "dist"
  ],
  "funding": "https://github.com/fb55/encoding-sniffer?sponsor=1",
  "homepage": "https://github.com/fb55/encoding-sniffer#readme",
  "jest": {
    "coverageProvider": "v8",
    "moduleNameMapper": {
      "^(.*)\\.js$": [
        "$1",
        "$1.js"
      ]
    },
    "preset": "ts-jest",
    "testEnvironment": "node"
  },
  "license": "MIT",
  "main": "./dist/commonjs/index.js",
  "name": "encoding-sniffer",
  "prettier": {
    "proseWrap": "always",
    "tabWidth": 4
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/fb55/encoding-sniffer.git"
  },
  "scripts": {
    "build": "tshy",
    "build:docs": "typedoc --hideGenerator src/index.ts",
    "format": "npm run format:es && npm run format:prettier",
    "format:es": "npm run lint:es -- --fix",
    "format:prettier": "npm run prettier -- --write",
    "lint": "npm run lint:es && npm run lint:prettier",
    "lint:es": "eslint --ignore-path .gitignore .",
    "lint:prettier": "npm run prettier -- --check",
    "make-cjs": "sed -i '' 's/\"type\": \"module\"/\"type\": \"commonjs\"/g' package.json",
    "make-esm": "sed -i '' 's/\"type\": \"commonjs\"/\"type\": \"module\"/g' package.json",
    "prepublishOnly": "npm run build",
    "prettier": "prettier '**/*.{ts,md,json,yml}'",
    "test": "npm run test:jest && npm run lint",
    "test:jest": "jest"
  },
  "tshy": {
    "exports": {
      ".": "./src/index.ts",
      "./sniffer": "./src/sniffer.ts"
    },
    "exclude": [
      "src/**/*.spec.ts"
    ]
  },
  "type": "module",
  "types": "./dist/commonjs/index.d.ts",
  "version": "0.2.0"
}
