# random-obj-prop **Repository Path**: mirrors_sindresorhus/random-obj-prop ## Basic Information - **Project Name**: random-obj-prop - **Description**: Get a random property from an object - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # random-object-value > Get a random value from an object ## Install ```sh npm install random-object-value ``` ## Usage ```js import randomObjectValue from 'random-object-value'; randomObjectValue({foo: '🐴', bar: '🦄'}); //=> '🦄' ``` ## Related - [random-object-key](https://github.com/sindresorhus/random-object-key) - Get a random key from an object - [random-int](https://github.com/sindresorhus/random-int) - Generate a random integer - [random-float](https://github.com/sindresorhus/random-float) - Generate a random float - [random-item](https://github.com/sindresorhus/random-item) - Get a random item from an array - [unique-random](https://github.com/sindresorhus/unique-random) - Generate random numbers that are consecutively unique - [unique-random-array](https://github.com/sindresorhus/unique-random-array) - Get consecutively unique elements from an array - [crypto-random-string](https://github.com/sindresorhus/crypto-random-string) - Generate a cryptographically strong random string