get-values

Return an array of all values from the given object.


Keywords
array, for, for-own, map, object, own, values
License
MIT
Install
npm install get-values@0.1.0

Documentation

get-values NPM version

Return an array of all values from the given object.

Install

Install with npm

$ npm i get-values --save

Install with bower

$ bower install get-values --save

Usage

var values = require('get-values');

values({a: 'aaa', b: 'bbb', c: 'ccc'});
//=> ['aaa', 'bbb', 'ccc']

Related projects

  • arr-map: Faster, node.js focused alternative to JavaScript's native array map.
  • for-own: Iterate over the own enumerable properties of an object, and return an object with properties… more
  • for-in: Iterate over the own and inherited enumerable properties of an objecte, and return an object… more
  • get-value: Use property paths (a.b.c) to get a nested value from an object.
  • utils: Fast, generic JavaScript/node.js utility functions.

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on June 07, 2015.