chat-client/node_modules/object-keys
jsrobson10 a760adb0c5 Initial Commit 2019-03-24 17:22:44 +11:00
..
test Initial Commit 2019-03-24 17:22:44 +11:00
.npmignore Initial Commit 2019-03-24 17:22:44 +11:00
.travis.yml Initial Commit 2019-03-24 17:22:44 +11:00
README.md Initial Commit 2019-03-24 17:22:44 +11:00
foreach.js Initial Commit 2019-03-24 17:22:44 +11:00
index.js Initial Commit 2019-03-24 17:22:44 +11:00
isArguments.js Initial Commit 2019-03-24 17:22:44 +11:00
package.json Initial Commit 2019-03-24 17:22:44 +11:00
shim.js Initial Commit 2019-03-24 17:22:44 +11:00

README.md

#object-keys Version Badge

Build Status dependency status

browser support

An Object.keys shim. Uses Object.keys if available.

Example

var keys = require('object-keys');
var assert = require('assert');
var obj = {
	a: true,
	b: true,
	c: true
};

assert.equal(keys(obj), ['a', 'b', 'c']);

Source

Implementation taken directly from es5-shim, with modifications, including from lodash.

Tests

Simply clone the repo, npm install, and run npm test