{
  "_id": "fast-content-type-parse",
  "maintainers": [
    {
      "name": "zekth",
      "email": "vince.legoff@gmail.com"
    },
    {
      "name": "eomm",
      "email": "behemoth89@gmail.com"
    },
    {
      "name": "gurgunday",
      "email": "hey@gurgun.day"
    },
    {
      "name": "ivan-tymoshenko",
      "email": "ivan@tymoshenko.me"
    },
    {
      "name": "simoneb",
      "email": "simone.busoli@gmail.com"
    },
    {
      "name": "climba03003",
      "email": "kaka@kakawebsitedemo.com"
    },
    {
      "name": "jsumners",
      "email": "james.sumners@gmail.com"
    },
    {
      "name": "fdawgs",
      "email": "frazer.dev@icloud.com"
    },
    {
      "name": "metcoder95",
      "email": "me@metcoder.dev"
    },
    {
      "name": "matteo.collina",
      "email": "hello@matteocollina.com"
    },
    {
      "name": "uzlopak",
      "email": "aras.abbasi@googlemail.com"
    }
  ],
  "keywords": [
    "content-type",
    "rfc7231"
  ],
  "dist-tags": {
    "latest": "3.0.0"
  },
  "author": {
    "name": "Aras Abbasi",
    "email": "aras.abbasi@gmail.com"
  },
  "_rev": "14-b7ee64f0b0d56364b612be3685c82e1d",
  "description": "Parse HTTP Content-Type header according to RFC 7231",
  "readme": "# fast-content-type-parse\n\n<div align=\"center\">\n\n[![NPM version](https://img.shields.io/npm/v/fast-content-type-parse.svg?style=flat)](https://www.npmjs.com/package/fast-content-type-parse)\n[![NPM downloads](https://img.shields.io/npm/dm/fast-content-type-parse.svg?style=flat)](https://www.npmjs.com/package/fast-content-type-parse)\n[![CI](https://github.com/fastify/fast-content-type-parse/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/fastify/fast-content-type-parse/actions/workflows/ci.yml)\n[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard)\n[![Security Responsible Disclosure](https://img.shields.io/badge/Security-Responsible%20Disclosure-yellow.svg)](https://github.com/fastify/.github/blob/main/SECURITY.md)\n\n</div>\n\nParse HTTP Content-Type header according to RFC 7231.\n\n## Installation\n\n```sh\n$ npm install fast-content-type-parse\n```\n\n## Usage\n\n```js\nconst fastContentTypeParse = require('fast-content-type-parse')\n```\n\n### fastContentTypeParse.parse(string)\n\n```js\nconst contentType = fastContentTypeParse.parse('application/json; charset=utf-8')\n```\n\nParse a `Content-Type` header. Throws a `TypeError` if the string is invalid.\n\nIt will return an object with the following properties (examples are shown for\nthe string `'application/json; charset=utf-8'`):\n\n - `type`: The media type (the type and subtype, always lowercase).\n   Example: `'application/json'`\n\n - `parameters`: An object of the parameters in the media type (name of parameter\n   always lowercase). Example: `{charset: 'utf-8'}`\n\n### fastContentTypeParse.safeParse(string)\n\n```js\nconst contentType = fastContentTypeParse.safeParse('application/json; charset=utf-8')\n```\n\nParse a `Content-Type` header. It will not throw an Error if the header is invalid.\n\nThis will return an object with the following\nproperties (examples are shown for the string `'application/json; charset=utf-8'`):\n\n - `type`: The media type (the type and subtype, always lowercase).\n   Example: `'application/json'`\n\n - `parameters`: An object of the parameters in the media type (name of parameter\n   always lowercase). Example: `{charset: 'utf-8'}`\n\nIn case the header is invalid, it will return an object\nwith an empty string `''` as type and an empty Object for `parameters`.\n\n## Benchmarks\n\n```sh\nnode benchmarks/index.js\nutil#MIMEType x 1,206,781 ops/sec ±0.22% (96 runs sampled)\nfast-content-type-parse#parse x 3,752,236 ops/sec ±0.42% (96 runs sampled)\nfast-content-type-parse#safeParse x 3,675,645 ops/sec ±1.09% (94 runs sampled)\ncontent-type#parse x 1,452,582 ops/sec ±0.37% (95 runs sampled)\nbusboy#parseContentType x 924,306 ops/sec ±0.43% (94 runs sampled)\nFastest is fast-content-type-parse#parse\n```\n\n## Credits\n\nBased on the npm package `content-type`.\n\n## License\n\nLicensed under [MIT](./LICENSE).\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/fastify/fast-content-type-parse.git"
  },
  "bugs": {
    "url": "https://github.com/fastify/fast-content-type-parse/issues"
  },
  "license": "MIT",
  "versions": {
    "0.0.1": {
      "name": "fast-content-type-parse",
      "version": "0.0.1",
      "keywords": [],
      "author": {
        "name": "Aras Abbasi",
        "email": "aras.abbasi@gmail.com"
      },
      "license": "MIT",
      "_id": "fast-content-type-parse@0.0.1",
      "maintainers": [
        {
          "name": "uzlopak",
          "email": "aras.abbasi@googlemail.com"
        }
      ],
      "dist": {
        "shasum": "87a667ad6c126c0cd5099c85f923cd1404d17e8f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fast-content-type-parse/-/fast-content-type-parse-0.0.1.tgz",
        "fileCount": 4,
        "integrity": "sha512-iFP0Q0A8HBQHgTxBp8CvPQX9q9I7UBd3yUGZb9/nlPFhkl/GVciLt/U6kzw5gYD3TMrmMsLqPj64EW8s7NvyvA==",
        "signatures": [
          {
            "sig": "MEYCIQDlpEGOFdM5Vb1JOzu/IyHhutkn3blwwwx3WCQwgxBP+QIhAMfJCGjrf0qgJQzlUKHg0z9MjajG+L/ACfqqXkWoWE5e",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 12659,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt9BYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLRA//ceCL/gail4+ATl1cM8qRuJX1nl1kmq5Nb6hbH6ofAV1bROmN\r\n77nm5+elM4gdOkb0QXPrek4VndZEinpQOQvVDp/P6EVhbwjb76BE8mKcMxAe\r\ncEdrO/IYjAX/ZUJX6lIvDe5DARjm24PYSgSqxdYXTLcvfqq8PNklB884ipVQ\r\nWwgEZ8P+Sd0jyUkXFf/dIys9O7kOeUuGfFM7Wsv+kvq/B9C+Jcf/io72fZSB\r\nV2ww+VXLSQvZwO+0rbCew5SuaPYFQXoxookAcGI0FbN/1y8Diy2fbkSB7mcy\r\ngG2G6hw56tx6xA2mZG+H27Yr/il3mx0463O23qXuGUKx7R528jW8VL0V4INZ\r\nO0TVBfw2soh7Y/eQo7VobpliXeVFIj72tjURIk3M2ACQb9DaZh9COaUg+kJj\r\nrK/FQTDs5Q5xCRgpsmmA7tsbg5tVBn5uoyGxV0PhPP60PQJcnWOgzEAaQ1Lv\r\nDfGpk+7Ct5bPJ8uA4XAA+XThAnsxEoZbXjWaPufT/r0vXQ9TRUdQn+lTVI7z\r\nrbY3LOdwTJznldJVwLz+9qUehF7HwGtpMsTXIPGzmeLnYPIvra9X88WBDw5m\r\nN853WE8VZsK8pyhtdEyWjraZFWw0Zq+g9+x43jBfaIU4XIEWG/BbeQF37n6W\r\nvPm9HPXV0m9FpMT1BsxvP2V7BK6SWRg/ZrQ=\r\n=bwWq\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "index.js",
      "scripts": {
        "test": "tap"
      },
      "_npmUser": {
        "name": "uzlopak",
        "email": "aras.abbasi@googlemail.com"
      },
      "_npmVersion": "8.19.3",
      "description": "",
      "directories": {},
      "_nodeVersion": "19.1.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^16.3.2",
        "busboy": "^1.6.0",
        "benchmark": "^2.1.4",
        "content-type": "^1.0.4"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fast-content-type-parse_0.0.1_1672990808174_0.4260451149480837",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.0.0": {
      "name": "fast-content-type-parse",
      "version": "1.0.0",
      "keywords": [
        "content-type",
        "rfc7231"
      ],
      "author": {
        "name": "Aras Abbasi",
        "email": "aras.abbasi@gmail.com"
      },
      "license": "MIT",
      "_id": "fast-content-type-parse@1.0.0",
      "maintainers": [
        {
          "name": "uzlopak",
          "email": "aras.abbasi@googlemail.com"
        }
      ],
      "homepage": "https://github.com/fastify/fast-content-type-parse#readme",
      "bugs": {
        "url": "https://github.com/fastify/fast-content-type-parse/issues"
      },
      "dist": {
        "shasum": "cddce00df7d7efb3727d375a598e4904bfcb751c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fast-content-type-parse/-/fast-content-type-parse-1.0.0.tgz",
        "fileCount": 16,
        "integrity": "sha512-Xbc4XcysUXcsP5aHUU7Nq3OwvHq97C+WnbkeIefpeYLX+ryzFJlU6OStFJhs6Ol0LkUGpcK+wL0JwfM+FCU5IA==",
        "signatures": [
          {
            "sig": "MEUCIGoHpYdxngZ0YLGOa0lLRzMaBVqkCHpwIcXS3IN/8xZoAiEA+FPT5/UzQs+VzgGTO1cvapYABq+WOrWpSLiU9ogv8IY=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 21121,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJju+81ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFDA//UyKZkZnI8TTgdZcdXGp8av20W+gSp9IIZERbFlm+csVj56NN\r\n0/t8Jje6hwmMkOLEVVZL7HP2YhsfaSxWTeNovnxt9+Ho2Tbm1ss7E5QtsaIT\r\n1osVm0cUNckDxVLsaThSK9f+jmE9+6L0c++W+vydhje0gN9MotAudUPUzxe/\r\n+JlUDBnBZF4jbXgL0EUzgqFYTkRH29NZAv/j3w8fsA7OfXcq6nS88YDNWvkW\r\n10ar8Lo7fQPQuP2GvvWJOE1qNdNFxEGXeb8Q8NZVL978haEGEiCLZN11nV4N\r\nzFbPdMwf+/PJlLCwSqTBbW7jawOSCCSPxytCOzlMj3CwS+TzOiFm7vINfZ9U\r\nBwweapahGyitvhmssnpQl8Awc0HWkNercv1LAsnUbDekm9lHVWcYH0OwHWk/\r\n6yCXZVXgpY7prQ5iNIzn8KcfOB413VRyKdlhTBvntMj24zVBxl9KBn4yNG0h\r\n088yZaUb5gLxPWXfijvpexbJFh1k1MGJQx0H4vEGnxZFD+QugYsLC5WwBYuF\r\nflH/EEcwjFvEbnb6IsX2njKv9snX5GnDGpejbb1e5qfa/R+dBFH8PAfADbJV\r\nJ4jS9ytAb0EJdi/JYVR0mzF1Oc3xq1lA3KHwlzddusnscUT27ux8TtO8u9uy\r\nQ2p4qQttGM4809UXAbaIpJ8QlK2j6PKQkts=\r\n=Vxd3\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "main": "index.js",
      "types": "./types/index.d.ts",
      "gitHead": "ddac06dfd59f818b8654e231c345428c61345d22",
      "scripts": {
        "lint": "standard",
        "test": "npm run test:unit && npm run test:typescript",
        "lint:fix": "standard --fix",
        "test:unit": "tap",
        "test:typescript": "tsd"
      },
      "_npmUser": {
        "name": "uzlopak",
        "email": "aras.abbasi@googlemail.com"
      },
      "pre-commit": [
        "lint",
        "test"
      ],
      "repository": {
        "url": "git+https://github.com/fastify/fast-content-type-parse.git",
        "type": "git"
      },
      "_npmVersion": "9.1.3",
      "description": "Parse HTTP Content-Type header according to RFC 7231",
      "directories": {},
      "_nodeVersion": "16.17.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^16.3.2",
        "tsd": "^0.25.0",
        "busboy": "^1.6.0",
        "standard": "^17.0.0",
        "benchmark": "^2.1.4",
        "content-type": "^1.0.4",
        "@fastify/pre-commit": "^2.0.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fast-content-type-parse_1.0.0_1673260853705_0.9054529193018295",
        "host": "s3://npm-registry-packages"
      }
    },
    "1.1.0": {
      "name": "fast-content-type-parse",
      "version": "1.1.0",
      "keywords": [
        "content-type",
        "rfc7231"
      ],
      "author": {
        "name": "Aras Abbasi",
        "email": "aras.abbasi@gmail.com"
      },
      "license": "MIT",
      "_id": "fast-content-type-parse@1.1.0",
      "maintainers": [
        {
          "name": "simoneb",
          "email": "simone.busoli@gmail.com"
        },
        {
          "name": "ivan-tymoshenko",
          "email": "ivan@tymoshenko.me"
        },
        {
          "name": "eomm",
          "email": "behemoth89@gmail.com"
        },
        {
          "name": "zekth",
          "email": "vince.legoff@gmail.com"
        },
        {
          "name": "rafaelgss",
          "email": "rafael.nunu@hotmail.com"
        },
        {
          "name": "matteo.collina",
          "email": "hello@matteocollina.com"
        },
        {
          "name": "uzlopak",
          "email": "aras.abbasi@googlemail.com"
        }
      ],
      "homepage": "https://github.com/fastify/fast-content-type-parse#readme",
      "bugs": {
        "url": "https://github.com/fastify/fast-content-type-parse/issues"
      },
      "dist": {
        "shasum": "4087162bf5af3294d4726ff29b334f72e3a1092c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fast-content-type-parse/-/fast-content-type-parse-1.1.0.tgz",
        "fileCount": 20,
        "integrity": "sha512-fBHHqSTFLVnR61C+gltJuE5GkVQMV0S2nqUO8TJ+5Z3qAKG8vAx4FKai1s5jq/inV1+sREynIWSuQ6HgoSXpDQ==",
        "signatures": [
          {
            "sig": "MEUCIDIVcR9x8F8kKqZ6+UjVbqJ8PNVLURaZXJOZg+r5UOTVAiEA+FaJfjX2o8/iFLiAkrZeejwd7FQG87MygYA1PgeW82U=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 20784
      },
      "main": "index.js",
      "types": "./types/index.d.ts",
      "gitHead": "fe6d5f68b9eaf76fff6884a31979729713381b73",
      "scripts": {
        "lint": "standard",
        "test": "npm run test:unit && npm run test:typescript",
        "lint:fix": "standard --fix",
        "benchmark": "node benchmarks/simple.js && node benchmarks/simple-ows.js && node benchmarks/with-param.js && node benchmarks/with-param-quoted.js",
        "test:unit": "tap",
        "test:typescript": "tsd"
      },
      "_npmUser": {
        "name": "eomm",
        "email": "behemoth89@gmail.com"
      },
      "pre-commit": [
        "lint",
        "test"
      ],
      "repository": {
        "url": "git+https://github.com/fastify/fast-content-type-parse.git",
        "type": "git"
      },
      "_npmVersion": "9.5.0",
      "description": "Parse HTTP Content-Type header according to RFC 7231",
      "directories": {},
      "_nodeVersion": "18.15.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^16.3.2",
        "tsd": "^0.29.0",
        "busboy": "^1.6.0",
        "standard": "^17.0.0",
        "benchmark": "^2.1.4",
        "content-type": "^1.0.4",
        "@fastify/pre-commit": "^2.0.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fast-content-type-parse_1.1.0_1695320099747_0.9570588255382515",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.0": {
      "name": "fast-content-type-parse",
      "version": "2.0.0",
      "keywords": [
        "content-type",
        "rfc7231"
      ],
      "author": {
        "name": "Aras Abbasi",
        "email": "aras.abbasi@gmail.com"
      },
      "license": "MIT",
      "_id": "fast-content-type-parse@2.0.0",
      "maintainers": [
        {
          "name": "jsumners",
          "email": "james.sumners@gmail.com"
        },
        {
          "name": "climba03003",
          "email": "kaka@kakawebsitedemo.com"
        },
        {
          "name": "gurgunday",
          "email": "hey@gurgun.day"
        },
        {
          "name": "simoneb",
          "email": "simone.busoli@gmail.com"
        },
        {
          "name": "ivan-tymoshenko",
          "email": "ivan@tymoshenko.me"
        },
        {
          "name": "eomm",
          "email": "behemoth89@gmail.com"
        },
        {
          "name": "zekth",
          "email": "vince.legoff@gmail.com"
        },
        {
          "name": "rafaelgss",
          "email": "rafael.nunu@hotmail.com"
        },
        {
          "name": "matteo.collina",
          "email": "hello@matteocollina.com"
        },
        {
          "name": "uzlopak",
          "email": "aras.abbasi@googlemail.com"
        }
      ],
      "homepage": "https://github.com/fastify/fast-content-type-parse#readme",
      "bugs": {
        "url": "https://github.com/fastify/fast-content-type-parse/issues"
      },
      "dist": {
        "shasum": "dea7bfd385e4f18e69f37d309431a4b48470fece",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fast-content-type-parse/-/fast-content-type-parse-2.0.0.tgz",
        "fileCount": 21,
        "integrity": "sha512-fCqg/6Sps8tqk8p+kqyKqYfOF0VjPNYrqpLiqNl0RBKmD80B080AJWVV6EkSkscjToNExcXg1+Mfzftrx6+iSA==",
        "signatures": [
          {
            "sig": "MEUCIBC1D2LCFkMSEFb9I1RnLPEIV0HPVahppSz1HXG4Qf32AiEAwmrAsJc3oHUE7KGtq7VNdVxSEvIgwsy51n11OU6sECA=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 20910
      },
      "main": "index.js",
      "type": "commonjs",
      "types": "./types/index.d.ts",
      "gitHead": "398557785f83b0f6d3acb836541545dfc7933c6e",
      "scripts": {
        "lint": "standard",
        "test": "npm run test:unit && npm run test:typescript",
        "lint:fix": "standard --fix",
        "benchmark": "node benchmarks/simple.js && node benchmarks/simple-ows.js && node benchmarks/with-param.js && node benchmarks/with-param-quoted.js",
        "test:unit": "tap",
        "test:typescript": "tsd"
      },
      "_npmUser": {
        "name": "jsumners",
        "email": "james.sumners@gmail.com"
      },
      "pre-commit": [
        "lint",
        "test"
      ],
      "repository": {
        "url": "git+https://github.com/fastify/fast-content-type-parse.git",
        "type": "git"
      },
      "_npmVersion": "10.7.0",
      "description": "Parse HTTP Content-Type header according to RFC 7231",
      "directories": {},
      "_nodeVersion": "20.15.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^19.2.5",
        "tsd": "^0.31.0",
        "busboy": "^1.6.0",
        "standard": "^17.0.0",
        "benchmark": "^2.1.4",
        "content-type": "^1.0.4",
        "@fastify/pre-commit": "^2.1.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fast-content-type-parse_2.0.0_1720904000981_0.2831613639666848",
        "host": "s3://npm-registry-packages"
      }
    },
    "2.0.1": {
      "name": "fast-content-type-parse",
      "version": "2.0.1",
      "keywords": [
        "content-type",
        "rfc7231"
      ],
      "author": {
        "name": "Aras Abbasi",
        "email": "aras.abbasi@gmail.com"
      },
      "license": "MIT",
      "_id": "fast-content-type-parse@2.0.1",
      "maintainers": [
        {
          "name": "zekth",
          "email": "vince.legoff@gmail.com"
        },
        {
          "name": "eomm",
          "email": "behemoth89@gmail.com"
        },
        {
          "name": "gurgunday",
          "email": "hey@gurgun.day"
        },
        {
          "name": "ivan-tymoshenko",
          "email": "ivan@tymoshenko.me"
        },
        {
          "name": "simoneb",
          "email": "simone.busoli@gmail.com"
        },
        {
          "name": "climba03003",
          "email": "kaka@kakawebsitedemo.com"
        },
        {
          "name": "jsumners",
          "email": "james.sumners@gmail.com"
        },
        {
          "name": "fdawgs",
          "email": "frazer.dev@icloud.com"
        },
        {
          "name": "matteo.collina",
          "email": "hello@matteocollina.com"
        },
        {
          "name": "uzlopak",
          "email": "aras.abbasi@googlemail.com"
        }
      ],
      "contributors": [
        {
          "url": "https://heyhey.to/G",
          "name": "Gürgün Dayıoğlu",
          "email": "hey@gurgun.day"
        },
        {
          "name": "Manuel Spigolon",
          "email": "behemoth89@gmail.com"
        },
        {
          "url": "https://james.sumners.info",
          "name": "James Sumners"
        },
        {
          "url": "https://github.com/fdawgs",
          "name": "Frazer Smith",
          "email": "frazer.dev@icloud.com"
        }
      ],
      "homepage": "https://github.com/fastify/fast-content-type-parse#readme",
      "bugs": {
        "url": "https://github.com/fastify/fast-content-type-parse/issues"
      },
      "dist": {
        "shasum": "c236124534ee2cb427c8d8e5ba35a4856947847b",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fast-content-type-parse/-/fast-content-type-parse-2.0.1.tgz",
        "fileCount": 20,
        "integrity": "sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==",
        "signatures": [
          {
            "sig": "MEQCIFnEE5KAv6EjQ0/GtAVh2kNCpzE+Bq9NNHuxihm2w0b6AiAm8gnAdaFr5UwDfCf1JysORAgySq974EbOX14cZ6G0Ug==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 21964
      },
      "main": "index.js",
      "type": "commonjs",
      "types": "./types/index.d.ts",
      "funding": [
        {
          "url": "https://github.com/sponsors/fastify",
          "type": "github"
        },
        {
          "url": "https://opencollective.com/fastify",
          "type": "opencollective"
        }
      ],
      "gitHead": "9d91aebf7b4c3f45657af2e6b977eedaae89d389",
      "scripts": {
        "lint": "eslint",
        "test": "npm run test:unit && npm run test:typescript",
        "lint:fix": "eslint --fix",
        "benchmark": "node benchmarks/simple.js && node benchmarks/simple-ows.js && node benchmarks/with-param.js && node benchmarks/with-param-quoted.js",
        "test:unit": "tap",
        "test:typescript": "tsd"
      },
      "_npmUser": {
        "name": "fdawgs",
        "email": "frazer.dev@icloud.com"
      },
      "pre-commit": [
        "lint",
        "test"
      ],
      "repository": {
        "url": "git+https://github.com/fastify/fast-content-type-parse.git",
        "type": "git"
      },
      "_npmVersion": "10.8.2",
      "description": "Parse HTTP Content-Type header according to RFC 7231",
      "directories": {},
      "_nodeVersion": "20.18.1",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "tap": "^19.2.5",
        "tsd": "^0.31.0",
        "busboy": "^1.6.0",
        "eslint": "^9.17.0",
        "benchmark": "^2.1.4",
        "neostandard": "^0.12.0",
        "content-type": "^1.0.4",
        "@fastify/pre-commit": "^2.1.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/fast-content-type-parse_2.0.1_1735910121566_0.6979407062448275",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "3.0.0": {
      "name": "fast-content-type-parse",
      "version": "3.0.0",
      "description": "Parse HTTP Content-Type header according to RFC 7231",
      "main": "index.js",
      "type": "commonjs",
      "types": "./types/index.d.ts",
      "scripts": {
        "benchmark": "node benchmarks/simple.js && node benchmarks/simple-ows.js && node benchmarks/with-param.js && node benchmarks/with-param-quoted.js",
        "lint": "eslint",
        "lint:fix": "eslint --fix",
        "test": "npm run test:unit && npm run test:typescript",
        "test:typescript": "tsd",
        "test:unit": "c8 --100 node --test"
      },
      "keywords": [
        "content-type",
        "rfc7231"
      ],
      "author": {
        "name": "Aras Abbasi",
        "email": "aras.abbasi@gmail.com"
      },
      "contributors": [
        {
          "name": "Gürgün Dayıoğlu",
          "email": "hey@gurgun.day",
          "url": "https://heyhey.to/G"
        },
        {
          "name": "Manuel Spigolon",
          "email": "behemoth89@gmail.com"
        },
        {
          "name": "James Sumners",
          "url": "https://james.sumners.info"
        },
        {
          "name": "Frazer Smith",
          "email": "frazer.dev@icloud.com",
          "url": "https://github.com/fdawgs"
        }
      ],
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/fastify/fast-content-type-parse.git"
      },
      "bugs": {
        "url": "https://github.com/fastify/fast-content-type-parse/issues"
      },
      "homepage": "https://github.com/fastify/fast-content-type-parse#readme",
      "funding": [
        {
          "type": "github",
          "url": "https://github.com/sponsors/fastify"
        },
        {
          "type": "opencollective",
          "url": "https://opencollective.com/fastify"
        }
      ],
      "devDependencies": {
        "@fastify/pre-commit": "^2.1.0",
        "benchmark": "^2.1.4",
        "busboy": "^1.6.0",
        "c8": "^10.1.3",
        "content-type": "^1.0.4",
        "eslint": "^9.17.0",
        "neostandard": "^0.12.0",
        "tsd": "^0.31.0"
      },
      "pre-commit": [
        "lint",
        "test"
      ],
      "_id": "fast-content-type-parse@3.0.0",
      "gitHead": "bf6861c1a2bad438f9a1f274477096aff04a09fd",
      "_nodeVersion": "20.18.1",
      "_npmVersion": "10.8.2",
      "dist": {
        "integrity": "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==",
        "shasum": "5590b6c807cc598be125e6740a9fde589d2b7afb",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz",
        "fileCount": 20,
        "unpackedSize": 22925,
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEUCIFn2Esbn8+1lJP68G6d4pZ+HI0HmPrIw8aXchKJ4TZcpAiEAnFR3V7txi88ulGA1yeNNslIbEOt2uibNvxlJVoib1vc="
          }
        ]
      },
      "_npmUser": {
        "name": "fdawgs",
        "email": "frazer.dev@icloud.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "zekth",
          "email": "vince.legoff@gmail.com"
        },
        {
          "name": "eomm",
          "email": "behemoth89@gmail.com"
        },
        {
          "name": "gurgunday",
          "email": "hey@gurgun.day"
        },
        {
          "name": "ivan-tymoshenko",
          "email": "ivan@tymoshenko.me"
        },
        {
          "name": "simoneb",
          "email": "simone.busoli@gmail.com"
        },
        {
          "name": "climba03003",
          "email": "kaka@kakawebsitedemo.com"
        },
        {
          "name": "jsumners",
          "email": "james.sumners@gmail.com"
        },
        {
          "name": "fdawgs",
          "email": "frazer.dev@icloud.com"
        },
        {
          "name": "metcoder95",
          "email": "me@metcoder.dev"
        },
        {
          "name": "matteo.collina",
          "email": "hello@matteocollina.com"
        },
        {
          "name": "uzlopak",
          "email": "aras.abbasi@googlemail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/fast-content-type-parse_3.0.0_1741451583605_0.14521008573288618"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "fast-content-type-parse",
  "time": {
    "created": "2023-01-06T07:40:08.174Z",
    "modified": "2026-05-15T21:48:17.047Z",
    "0.0.1": "2023-01-06T07:40:08.353Z",
    "1.0.0": "2023-01-09T10:40:53.855Z",
    "1.1.0": "2023-09-21T18:14:59.954Z",
    "2.0.0": "2024-07-13T20:53:21.156Z",
    "2.0.1": "2025-01-03T13:15:21.735Z",
    "3.0.0": "2025-03-08T16:33:03.786Z"
  },
  "contributors": [
    {
      "name": "Gürgün Dayıoğlu",
      "email": "hey@gurgun.day",
      "url": "https://heyhey.to/G"
    },
    {
      "name": "Manuel Spigolon",
      "email": "behemoth89@gmail.com"
    },
    {
      "name": "James Sumners",
      "url": "https://james.sumners.info"
    },
    {
      "name": "Frazer Smith",
      "email": "frazer.dev@icloud.com",
      "url": "https://github.com/fdawgs"
    }
  ],
  "readmeFilename": "README.md",
  "homepage": "https://github.com/fastify/fast-content-type-parse#readme"
}