{
  "_id": "own-keys",
  "maintainers": [
    {
      "name": "ljharb",
      "email": "ljharb@gmail.com"
    }
  ],
  "keywords": [
    "own",
    "key",
    "keys",
    "propertykey",
    "string",
    "symbol",
    "enumerable",
    "non-enumerable",
    "robust"
  ],
  "dist-tags": {
    "latest": "1.0.2"
  },
  "author": {
    "name": "Jordan Harband",
    "email": "ljharb@gmail.com"
  },
  "_rev": "6-19af7476318ab3c2aa12070b807e0753",
  "description": "Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible",
  "readme": "# own-keys <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\nRobustly get an object's own property keys (strings and symbols), including non-enumerables when possible.\n\n## Getting started\n\n```sh\nnpm install --save own-keys\n```\n\n## Usage/Examples\n\n```js\nvar ownKeys = require('own-keys');\nvar assert = require('assert');\n\nassert.deepEqual(ownKeys({ a: 1, b: 2 }), ['a', 'b']);\nassert.deepEqual(ownKeys([1, 2, 3]), [0, 1, 2, 'length']);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/own-keys\n[npm-version-svg]: https://versionbadg.es/ljharb/own-keys.svg\n[deps-svg]: https://david-dm.org/ljharb/own-keys.svg\n[deps-url]: https://david-dm.org/ljharb/own-keys\n[dev-deps-svg]: https://david-dm.org/ljharb/own-keys/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/own-keys#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/own-keys.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/own-keys.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/own-keys.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=own-keys\n[codecov-image]: https://codecov.io/gh/ljharb/own-keys/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/own-keys/\n[actions-image]: https://img.shields.io/github/check-runs/ljharb/own-keys/main\n[actions-url]: https://github.com/ljharb/own-keys/actions\n",
  "repository": {
    "url": "git+https://github.com/ljharb/own-keys.git",
    "type": "git"
  },
  "bugs": {
    "url": "https://github.com/ljharb/own-keys/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "own-keys",
      "version": "1.0.0",
      "keywords": [
        "own",
        "key",
        "keys",
        "propertykey",
        "string",
        "symbol",
        "enumerable",
        "non-enumerable",
        "robust"
      ],
      "author": {
        "name": "Jordan Harband",
        "email": "ljharb@gmail.com"
      },
      "license": "MIT",
      "_id": "own-keys@1.0.0",
      "maintainers": [
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        }
      ],
      "homepage": "https://github.com/ljharb/own-keys#readme",
      "bugs": {
        "url": "https://github.com/ljharb/own-keys/issues"
      },
      "dist": {
        "shasum": "4ab4f9758185bd8f2716f95453ea7da72fb56c09",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/own-keys/-/own-keys-1.0.0.tgz",
        "fileCount": 11,
        "integrity": "sha512-HcuIjzpjrUbqZPGzWHVg95Bc2Y37KoY5n66QQyEGMzrIWVKHsgHcv8/Aq5Cu3qFUQJzMSPVP8MD3oaFoaME1lg==",
        "signatures": [
          {
            "sig": "MEUCIQDeaYYNtyqTJEKyhmZsdJqfizEOvnOhztKMEBFNfkdZaAIgbeuUV9BL8yUFxjayoLlQREJZhlBWZ9DFQrLr2SUTRoM=",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 9052
      },
      "main": "index.js",
      "types": "./index.d.ts",
      "engines": {
        "node": ">= 0.4"
      },
      "exports": {
        ".": "./index.js",
        "./package.json": "./package.json"
      },
      "funding": {
        "url": "https://github.com/sponsors/ljharb"
      },
      "gitHead": "88f37683c7790ea73114d663a3fe8199c918d26f",
      "scripts": {
        "lint": "eslint --ext=js,mjs .",
        "test": "npm run tests-only",
        "prelint": "evalmd README.md",
        "prepack": "npmignore --auto --commentLines=autogenerated",
        "pretest": "npm run lint",
        "version": "auto-changelog && git add CHANGELOG.md",
        "postlint": "tsc && attw -P",
        "posttest": "npx npm@'>= 10.2' audit --production",
        "prepublish": "not-in-publish || npm run prepublishOnly",
        "tests-only": "nyc tape test",
        "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
        "prepublishOnly": "safe-publish-latest"
      },
      "_npmUser": {
        "name": "ljharb",
        "email": "ljharb@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/ljharb/own-keys.git",
        "type": "git"
      },
      "_npmVersion": "10.9.2",
      "description": "Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "23.5.0",
      "dependencies": {
        "object-keys": "^1.1.1",
        "get-intrinsic": "^1.2.6",
        "safe-push-apply": "^1.0.0"
      },
      "publishConfig": {
        "ignore": [
          ".github/workflows"
        ]
      },
      "_hasShrinkwrap": false,
      "auto-changelog": {
        "output": "CHANGELOG.md",
        "template": "keepachangelog",
        "hideCredit": true,
        "unreleased": false,
        "commitLimit": false,
        "backfillLimit": false
      },
      "devDependencies": {
        "nyc": "^10.3.2",
        "tape": "^5.9.0",
        "eslint": "=8.8.0",
        "evalmd": "^0.0.19",
        "encoding": "^0.1.13",
        "npmignore": "^0.3.1",
        "in-publish": "^2.0.1",
        "typescript": "next",
        "@types/tape": "^5.8.0",
        "has-symbols": "^1.1.0",
        "@types/isarray": "^2.0.3",
        "auto-changelog": "^2.5.0",
        "@ljharb/tsconfig": "^0.2.3",
        "@types/object-keys": "^1.0.3",
        "safe-publish-latest": "^2.0.0",
        "@types/get-intrinsic": "^1.2.3",
        "@arethetypeswrong/cli": "^0.17.2",
        "@ljharb/eslint-config": "^21.1.1",
        "has-property-descriptors": "^1.0.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/own-keys_1.0.0_1735453188270_0.5074126020917114",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.0.1": {
      "name": "own-keys",
      "version": "1.0.1",
      "keywords": [
        "own",
        "key",
        "keys",
        "propertykey",
        "string",
        "symbol",
        "enumerable",
        "non-enumerable",
        "robust"
      ],
      "author": {
        "name": "Jordan Harband",
        "email": "ljharb@gmail.com"
      },
      "license": "MIT",
      "_id": "own-keys@1.0.1",
      "maintainers": [
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        }
      ],
      "homepage": "https://github.com/ljharb/own-keys#readme",
      "bugs": {
        "url": "https://github.com/ljharb/own-keys/issues"
      },
      "dist": {
        "shasum": "e4006910a2bf913585289676eebd6f390cf51358",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/own-keys/-/own-keys-1.0.1.tgz",
        "fileCount": 11,
        "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==",
        "signatures": [
          {
            "sig": "MEQCIFqxLqTh91FUcUxgZj0gZlH+K7jZrkFcnmn+4YFlgQ17AiAWxeMMr71qhhh3dAezv3Pq0y2YywiG89SbAPW0/DsiMA==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 9797
      },
      "main": "index.js",
      "types": "./index.d.ts",
      "engines": {
        "node": ">= 0.4"
      },
      "exports": {
        ".": "./index.js",
        "./package.json": "./package.json"
      },
      "funding": {
        "url": "https://github.com/sponsors/ljharb"
      },
      "gitHead": "c9f0eab8fc5d84ecdee6194d006ce7ad7591379d",
      "scripts": {
        "lint": "eslint --ext=js,mjs .",
        "test": "npm run tests-only",
        "prelint": "evalmd README.md",
        "prepack": "npmignore --auto --commentLines=autogenerated",
        "pretest": "npm run lint",
        "version": "auto-changelog && git add CHANGELOG.md",
        "postlint": "tsc && attw -P",
        "posttest": "npx npm@'>= 10.2' audit --production",
        "prepublish": "not-in-publish || npm run prepublishOnly",
        "tests-only": "nyc tape test",
        "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
        "prepublishOnly": "safe-publish-latest"
      },
      "_npmUser": {
        "name": "ljharb",
        "email": "ljharb@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/ljharb/own-keys.git",
        "type": "git"
      },
      "_npmVersion": "10.9.2",
      "description": "Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible",
      "directories": {},
      "sideEffects": false,
      "_nodeVersion": "23.5.0",
      "dependencies": {
        "object-keys": "^1.1.1",
        "get-intrinsic": "^1.2.6",
        "safe-push-apply": "^1.0.0"
      },
      "publishConfig": {
        "ignore": [
          ".github/workflows"
        ]
      },
      "_hasShrinkwrap": false,
      "auto-changelog": {
        "output": "CHANGELOG.md",
        "template": "keepachangelog",
        "hideCredit": true,
        "unreleased": false,
        "commitLimit": false,
        "backfillLimit": false
      },
      "devDependencies": {
        "nyc": "^10.3.2",
        "tape": "^5.9.0",
        "eslint": "=8.8.0",
        "evalmd": "^0.0.19",
        "encoding": "^0.1.13",
        "npmignore": "^0.3.1",
        "in-publish": "^2.0.1",
        "typescript": "next",
        "@types/tape": "^5.8.0",
        "has-symbols": "^1.1.0",
        "@types/isarray": "^2.0.3",
        "auto-changelog": "^2.5.0",
        "@ljharb/tsconfig": "^0.2.3",
        "@types/object-keys": "^1.0.3",
        "safe-publish-latest": "^2.0.0",
        "@types/get-intrinsic": "^1.2.3",
        "@arethetypeswrong/cli": "^0.17.2",
        "@ljharb/eslint-config": "^21.1.1",
        "has-property-descriptors": "^1.0.2"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/own-keys_1.0.1_1735514305945_0.936616452302371",
        "host": "s3://npm-registry-packages-npm-production"
      }
    },
    "1.0.2": {
      "_id": "own-keys@1.0.2",
      "bugs": {
        "url": "https://github.com/ljharb/own-keys/issues"
      },
      "dist": {
        "shasum": "31448ec1f781ecb1447f6f6aa0d6534222af59de",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/own-keys/-/own-keys-1.0.2.tgz",
        "integrity": "sha512-19YVAg7T+WTrxggPukVq7DjTv6+PJ867TmhCvBsYwmbFCsZd344rq2Ld1p0wo8f8Qrrhgp82c6FJRqdXWtSEhg==",
        "fileCount": 11,
        "unpackedSize": 13019,
        "signatures": [
          {
            "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
            "sig": "MEUCIGELV9MEX9kVqdB479O4CfnEzctcX4A2xsIafzm+pPxdAiEA5LXnBWu6TQdgDlyiPffKzCm3vuUoaCM3jJqRjIOYkQ4="
          }
        ]
      },
      "main": "index.js",
      "name": "own-keys",
      "types": "./index.d.ts",
      "author": {
        "name": "Jordan Harband",
        "email": "ljharb@gmail.com"
      },
      "engines": {
        "node": ">= 0.4"
      },
      "exports": {
        ".": "./index.js",
        "./package.json": "./package.json"
      },
      "funding": {
        "url": "https://github.com/sponsors/ljharb"
      },
      "gitHead": "20620ebfd195d384d85fc134e29cc4916297a92f",
      "license": "MIT",
      "scripts": {
        "lint": "eslint --ext=js,mjs .",
        "test": "npm run tests-only",
        "prelint": "evalmd --eslint README.md",
        "prepack": "npmignore --auto --commentLines=autogenerated",
        "pretest": "npm run lint",
        "version": "auto-changelog && git add CHANGELOG.md",
        "postlint": "tsc && attw -P",
        "posttest": "npx npm@'>= 10.2' audit --production",
        "prepublish": "not-in-publish || npm run prepublishOnly",
        "tests-only": "nyc tape test",
        "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
        "prepublishOnly": "safe-publish-latest"
      },
      "version": "1.0.2",
      "_npmUser": {
        "name": "ljharb",
        "email": "ljharb@gmail.com",
        "approver": {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        }
      },
      "homepage": "https://github.com/ljharb/own-keys#readme",
      "keywords": [
        "own",
        "key",
        "keys",
        "propertykey",
        "string",
        "symbol",
        "enumerable",
        "non-enumerable",
        "robust"
      ],
      "repository": {
        "url": "git+https://github.com/ljharb/own-keys.git",
        "type": "git"
      },
      "_npmVersion": "11.17.0",
      "description": "Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible",
      "directories": {},
      "maintainers": [
        {
          "name": "ljharb",
          "email": "ljharb@gmail.com"
        }
      ],
      "sideEffects": false,
      "_nodeVersion": "26.5.0",
      "dependencies": {
        "call-bound": "^1.0.4",
        "object-keys": "^1.1.1",
        "get-intrinsic": "^1.3.0",
        "safe-push-apply": "^1.0.0"
      },
      "publishConfig": {
        "ignore": [
          ".github/workflows"
        ]
      },
      "auto-changelog": {
        "output": "CHANGELOG.md",
        "template": "keepachangelog",
        "hideCredit": true,
        "unreleased": false,
        "commitLimit": false,
        "backfillLimit": false
      },
      "devDependencies": {
        "nyc": "^10.3.2",
        "tape": "^5.10.2",
        "eslint": "^8.57.1",
        "evalmd": "^0.0.22",
        "npmignore": "^0.3.5",
        "in-publish": "^2.0.1",
        "typescript": "next",
        "@types/node": "^12.20.55",
        "has-symbols": "^1.1.0",
        "@types/eslint": "^8.56.12",
        "@types/isarray": "^2.0.3",
        "auto-changelog": "^2.6.0",
        "@ljharb/tsconfig": "^0.3.2",
        "@types/object-keys": "^1.0.3",
        "safe-publish-latest": "^2.0.0",
        "@types/get-intrinsic": "^1.2.3",
        "@arethetypeswrong/cli": "^0.18.5",
        "@ljharb/eslint-config": "^22.2.3",
        "has-property-descriptors": "^1.0.2",
        "@types/has-property-descriptors": "^1.0.3"
      },
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages-npm-production",
        "tmp": "tmp/own-keys_1.0.2_1784648284277_0.8885104054711337"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "own-keys",
  "time": {
    "created": "2024-12-29T06:19:48.269Z",
    "modified": "2026-07-21T21:13:20.883Z",
    "99.10.9": "2022-03-27T16:49:02.646Z",
    "99.10.13": "2022-03-27T22:32:00.533Z",
    "1.0.0": "2024-12-29T06:19:48.478Z",
    "1.0.1": "2024-12-29T23:18:26.201Z",
    "1.0.2": "2026-07-21T15:38:04.405Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/ljharb/own-keys#readme"
}