Package Exports
- object-keys
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (object-keys) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
#object-keys
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 https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js#L542-589
Tests
Tests currently use tape - which doesn't work in node 0.10, but works in browserify. Rest assured, they pass.