{
  "manifest": {
    "name": "object.groupby",
    "version": "1.0.3",
    "description": "An ESnext spec-compliant `Object.groupBy` shim/polyfill/replacement that works as far down as ES3.",
    "main": "index.js",
    "exports": {
      ".": "./index.js",
      "./auto": "./auto.js",
      "./polyfill": "./polyfill.js",
      "./implementation": "./implementation.js",
      "./shim": "./shim.js",
      "./package.json": "./package.json"
    },
    "scripts": {
      "prepack": "npmignore --auto --commentLines=autogenerated",
      "prepublish": "not-in-publish || npm run prepublishOnly",
      "prepublishOnly": "safe-publish-latest",
      "pretest": "npm run --silent lint",
      "test": "npm run tests-only",
      "posttest": "aud --production",
      "tests-only": "nyc tape 'test/**/*.js'",
      "lint": "eslint --ext=js,mjs .",
      "postlint": "es-shim-api --bound && evalmd README.md",
      "version": "auto-changelog && git add CHANGELOG.md",
      "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
    },
    "repository": {
      "type": "git",
      "url": "git+https://github.com/es-shims/Object.groupBy.git"
    },
    "keywords": [
      "ecmascript",
      "javascript",
      "polyfill",
      "shim",
      "es-shim API",
      "array",
      "object",
      "group",
      "groupBy"
    ],
    "author": {
      "name": "Jordan Harband",
      "email": "ljharb@gmail.com"
    },
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/es-shims/Object.groupBy/issues"
    },
    "homepage": "https://github.com/es-shims/Object.groupBy#readme",
    "devDependencies": {
      "@es-shims/api": "^2.4.2",
      "@ljharb/eslint-config": "^21.1.0",
      "aud": "^2.0.4",
      "auto-changelog": "^2.4.0",
      "es-value-fixtures": "^1.4.2",
      "eslint": "=8.8.0",
      "evalmd": "^0.0.19",
      "for-each": "^0.3.3",
      "functions-have-names": "^1.2.3",
      "in-publish": "^2.0.1",
      "npmignore": "^0.3.1",
      "nyc": "^10.3.2",
      "object-inspect": "^1.13.1",
      "safe-publish-latest": "^2.0.0",
      "tape": "^5.7.5"
    },
    "dependencies": {
      "call-bind": "^1.0.7",
      "define-properties": "^1.2.1",
      "es-abstract": "^1.23.2"
    },
    "auto-changelog": {
      "output": "CHANGELOG.md",
      "template": "keepachangelog",
      "unreleased": false,
      "commitLimit": false,
      "backfillLimit": false,
      "hideCredit": true
    },
    "publishConfig": {
      "ignore": [
        ".github/workflows"
      ]
    },
    "engines": {
      "node": ">= 0.4"
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-object-groupby-1.0.3-9b125c36238129f6f7b61954a1e7176148d5002e-integrity/node_modules/object.groupby/package.json",
    "readmeFilename": "README.md",
    "readme": "# object.groupby <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nAn ESnext spec-compliant `Object.groupBy` shim/polyfill/replacement that works as far down as ES3.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the proposed [spec](https://tc39.github.io/proposal-array-grouping/).\n\n## Getting started\n\n```sh\nnpm install --save object.groupby\n```\n\n## Usage/Examples\n\n```js\nvar groupBy = require('object.groupby');\nvar assert = require('assert');\n\nvar arr = [0, 1, 2, 3, 4, 5];\nvar parity = function (x) { return x % 2 === 0 ? 'even' : 'odd'; };\n\nvar results = groupBy(arr, function (x, i) {\n    assert.equal(x, arr[i]);\n    return parity(x);\n});\n\nassert.deepEqual(results, {\n    __proto__: null,\n    even: [0, 2, 4],\n    odd: [1, 3, 5],\n});\n```\n\n```js\nvar groupBy = require('object.groupby');\nvar assert = require('assert');\n/* when Object.groupBy is not present */\ndelete Object.groupBy;\nvar shimmed = groupBy.shim();\n\nassert.equal(shimmed, groupBy.getPolyfill());\nassert.deepEqual(Object.groupBy(arr, parity), groupBy(arr, parity));\n```\n\n```js\nvar groupBy = require('object.groupby');\nvar assert = require('assert');\n/* when Array#group is present */\nvar shimmed = groupBy.shim();\n\nassert.equal(shimmed, Object.groupBy);\nassert.deepEqual(Object.groupBy(arr, parity), groupBy(arr, parity));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/object.groupby\n[npm-version-svg]: https://versionbadg.es/es-shims/Object.groupBy.svg\n[deps-svg]: https://david-dm.org/es-shims/Object.groupBy.svg\n[deps-url]: https://david-dm.org/es-shims/Object.groupBy\n[dev-deps-svg]: https://david-dm.org/es-shims/Object.groupBy/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Object.groupBy#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/object.groupby.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/object.groupby.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/object.groupby.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=object.groupby\n[codecov-image]: https://codecov.io/gh/es-shims/Object.groupBy/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Object.groupBy/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Object.groupBy\n[actions-url]: https://github.com/es-shims/Object.groupBy/actions\n",
    "licenseText": "MIT License\n\nCopyright (c) 2023 ECMAScript Shims\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.3.tgz#9b125c36238129f6f7b61954a1e7176148d5002e",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.3.tgz",
    "hash": "9b125c36238129f6f7b61954a1e7176148d5002e",
    "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==",
    "registry": "npm",
    "packageName": "object.groupby",
    "cacheIntegrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ== sha1-mxJcNiOBKfb3thlUoecXYUjVAC4="
  },
  "registry": "npm",
  "hash": "9b125c36238129f6f7b61954a1e7176148d5002e"
}