CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
README.md46 linesDownload Raw Back to own-keys
1# own-keys <sup>[![Version Badge][npm-version-svg]][package-url]</sup>2 3[![github actions][actions-image]][actions-url]4[![coverage][codecov-image]][codecov-url]5[![License][license-image]][license-url]6[![Downloads][downloads-image]][downloads-url]7 8[![npm badge][npm-badge-png]][package-url]9 10Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible.11 12## Getting started13 14```sh15npm install --save own-keys16```17 18## Usage/Examples19 20```js21var ownKeys = require('own-keys');22var assert = require('assert');23 24assert.deepEqual(ownKeys({ a: 1, b: 2 }), ['a', 'b']);25assert.deepEqual(ownKeys([1, 2, 3]), [0, 1, 2, 'length']);26```27 28## Tests29Simply clone the repo, `npm install`, and run `npm test`30 31[package-url]: https://npmjs.org/package/own-keys32[npm-version-svg]: https://versionbadg.es/ljharb/own-keys.svg33[deps-svg]: https://david-dm.org/ljharb/own-keys.svg34[deps-url]: https://david-dm.org/ljharb/own-keys35[dev-deps-svg]: https://david-dm.org/ljharb/own-keys/dev-status.svg36[dev-deps-url]: https://david-dm.org/ljharb/own-keys#info=devDependencies37[npm-badge-png]: https://nodei.co/npm/own-keys.png?downloads=true&stars=true38[license-image]: https://img.shields.io/npm/l/own-keys.svg39[license-url]: LICENSE40[downloads-image]: https://img.shields.io/npm/dm/own-keys.svg41[downloads-url]: https://npm-stat.com/charts.html?package=own-keys42[codecov-image]: https://codecov.io/gh/ljharb/own-keys/branch/main/graphs/badge.svg43[codecov-url]: https://app.codecov.io/gh/ljharb/own-keys/44[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/own-keys45[actions-url]: https://github.com/ljharb/own-keys/actions46 
basant307/AI_Governance_Project · CoolFace