Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@amphibian/object-keys

thomaslindstr_m48ISC1.0.2

return keys of an object

readme

object-keys

return keys of an object

npm install @amphibian/object-keys
var objectKeys = require('@amphibian/object-keys');
var object = {
    foo: 'bar',
    bar: 'foo'
};

console.log(objectKeys(object)); // > ['foo', 'bar']