This package has been deprecated

Author message:

Renamed to random-object-key: https://www.npmjs.com/package/random-object-key

random-obj-key
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

random-obj-key

Get a random key from an object

Install

npm install random-obj-key

Usage

import randomObjectKey from 'random-obj-key';

randomObjectKey({foo: true, bar: true});
//=> 'bar'

Related

/random-obj-key/

    Package Sidebar

    Install

    npm i random-obj-key

    Weekly Downloads

    1

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    3.33 kB

    Total Files

    5

    Last publish

    Collaborators

    • sindresorhus