{"_id":"@cjser/get-own-enumerable-keys","name":"@cjser/get-own-enumerable-keys","dist-tags":{"latest":"1.0.0-cjser.2"},"versions":{"1.0.0-cjser.2":{"name":"@cjser/get-own-enumerable-keys","version":"1.0.0-cjser.2","description":"Like `Object.keys()` but also includes symbols","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","require":"./dist-cjser/index.cjs","default":"./index.js"},"engines":{"node":">=14.16"},"scripts":{"test":"xo && ava && tsd"},"keywords":["object","own","enumerable","keys","key","property","properties","symbol","symbols"],"devDependencies":{"ava":"^5.1.1","tsd":"^0.25.0","xo":"^0.53.1"},"types":"./index.d.ts","main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"1.0.0","cjserVersion":2,"original":{"name":"get-own-enumerable-keys","version":"1.0.0","exports":{"types":"./index.d.ts","default":"./index.js"},"repository":"sindresorhus/get-own-enumerable-keys","files":["index.js","index.d.ts"],"scripts":{"test":"xo && ava && tsd"}}},"_id":"@cjser/get-own-enumerable-keys@1.0.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-RDulIqUfQA8mUjzdxBSymRULmSrlqmKjeIonjhSUBVmQw/XL+jIY9RenNSv2Vj2CXHj85n9hqmsiGyJtR7cuwA==","shasum":"6a97fd11c8ea1093c60140741ae158ca4fd39b83","tarball":"https://registry.npmjs.org/@cjser/get-own-enumerable-keys/-/get-own-enumerable-keys-1.0.0-cjser.2.tgz","fileCount":6,"unpackedSize":5908,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHX1tYmdr7VGmezJAM0wibPpvGb6tRHZg/FORRp+ZkY7AiEAjEx4g6bwWewVIlojH4c6yC47F8pTcjzqAcH51nhDd38="}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/get-own-enumerable-keys_1.0.0-cjser.2_1778158245475_0.5303025142268105"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T12:50:45.320Z","1.0.0-cjser.2":"2026-05-07T12:50:45.612Z","modified":"2026-05-07T12:50:45.889Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Like `Object.keys()` but also includes symbols","keywords":["object","own","enumerable","keys","key","property","properties","symbol","symbols"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","readme":"# get-own-enumerable-keys\n\n> Like [`Object.keys()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys) but also includes [symbols](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol)\n\n`Object.keys()` returns the own enumerable keys of an object except symbols (for legacy reasons). This package includes symbols too.\n\nUse [`Reflect.ownKeys()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys) if you also want non-enumerable keys.\n\n## Install\n\n```sh\nnpm install get-own-enumerable-keys\n```\n\n## Usage\n\n```js\nimport getOwnEnumerableKeys from 'get-own-enumerable-keys';\n\nconst symbol = Symbol('x');\n\nconst object = {\n\tfoo: true,\n\t[symbol]: true,\n};\n\nObject.keys(object);\n// ['foo']\n\ngetOwnEnumerableKeys(object);\n//=> ['foo', Symbol('x')]\n```\n\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/get-own-enumerable-keys\n","readmeFilename":"readme.md","_rev":"1-c5a657db65236b22ba3b4c6c95f7b3d3"}