1 # longest [![NPM version](https://badge.fury.io/js/longest.svg)](http://badge.fury.io/js/longest) [![Build Status](https://travis-ci.org/jonschlinkert/longest.svg)](https://travis-ci.org/jonschlinkert/longest)
3 > Get the longest item in an array.
5 ## Install with [npm](npmjs.org)
10 ### Install with [bower](https://github.com/bower/bower)
13 bower install longest --save
17 Install dev dependencies.
26 var longest = require('longest');
27 longest(['a', 'abcde', 'abc']);
30 longest(['a', 'abcde', 'abc']).length;
35 * [longest-value](https://github.com/jonschlinkert/longest-value): Get the longest value for the given property from an array of objects. Useful for aligning values.
36 * [right-align-values](https://github.com/jonschlinkert/right-align-values): Right align the values of a given property for each object in an array. Useful for creating text columns or tables.
37 * [right-pad-values](https://github.com/jonschlinkert/right-pad-values): Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.
38 * [repeat-string](https://github.com/jonschlinkert/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string.
39 * [pad-right](https://github.com/jonschlinkert/pad-right): Right pad a string with zeros or a specified string. Fastest implementation.
40 * [pad-left](https://github.com/jonschlinkert/pad-left): Left pad a string with zeros or a specified string. Fastest implementation.
43 Install dev dependencies.
50 Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/longest/issues)
56 + [github/jonschlinkert](https://github.com/jonschlinkert)
57 + [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
60 Copyright (c) 2015 Jon Schlinkert
61 Released under the MIT license
65 _This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 31, 2015._