1. object-values
Get the values of an object
object-values
Package: object-values
Created by: sindresorhus
Last modified: Wed, 22 Jun 2022 17:10:16 GMT
Version: 3.0.0
License: MIT
Downloads: 1,446,158
Repository: https://github.com/sindresorhus/object-values

Install

npm install object-values
yarn add object-values

Deprecated in favor of Object.values().


object-values

Get the values of an object

Returns an array of own enumerable property values of an object.

Install

$ npm install object-values

Usage

 const objectValues = require('object-values');

objectValues({foo: 0, bar: 1});
//=> [0, 1]

License

MIT © Sindre Sorhus

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin