{ "_id": "longest", "_rev": "25-f045e8127d39e519b4f22bb9c07f9181", "name": "longest", "description": "Get the longest item in an array.", "dist-tags": { "latest": "2.0.1" }, "versions": { "0.1.0": { "name": "longest", "version": "0.1.0", "description": "Get the length of the longest item in an array.", "main": "index.js", "scripts": { "test": "mocha" }, "repository": { "type": "git", "url": "https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE-MIT" } ], "devDependencies": { "mocha": "~1.17.0", "chai": "~1.8.1", "fs-utils": "~0.1.4" }, "homepage": "https://github.com/jonschlinkert/longest", "_id": "longest@0.1.0", "dist": { "shasum": "4a9284993a1a8f8608bffa01bb9d0ec2893954a5", "tarball": "https://registry.npmjs.org/longest/-/longest-0.1.0.tgz" }, "_from": ".", "_npmVersion": "1.3.14", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "directories": {} }, "0.2.0": { "name": "longest", "version": "0.2.0", "description": "Get the length of the longest item in an array.", "main": "index.js", "scripts": { "test": "mocha" }, "repository": { "type": "git", "url": "https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE-MIT" } ], "devDependencies": { "mocha": "~1.17.0", "chai": "~1.8.1" }, "homepage": "https://github.com/jonschlinkert/longest", "_id": "longest@0.2.0", "dist": { "shasum": "485f590095978967ec0e1df6018d39d4f1f0e361", "tarball": "https://registry.npmjs.org/longest/-/longest-0.2.0.tgz" }, "_from": ".", "_npmVersion": "1.3.24", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "directories": {} }, "0.2.1": { "name": "longest", "version": "0.2.1", "description": "Get the length of the longest item in an array.", "main": "index.js", "scripts": { "test": "mocha" }, "repository": { "type": "git", "url": "https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE-MIT" } ], "devDependencies": { "mocha": "~1.17.0", "chai": "~1.8.1" }, "homepage": "https://github.com/jonschlinkert/longest", "_id": "longest@0.2.1", "dist": { "shasum": "fc54fad8d4a006639c6430b2f73164a469d3bcae", "tarball": "https://registry.npmjs.org/longest/-/longest-0.2.1.tgz" }, "_from": ".", "_npmVersion": "1.3.24", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "directories": {} }, "0.3.0": { "name": "longest", "version": "0.3.0", "description": "Get the longest item in an array.", "homepage": "https://github.com/jonschlinkert/longest", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "license": { "type": "MIT", "url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE-MIT" }, "main": "index.js", "scripts": { "test": "mocha" }, "engines": { "node": ">=0.10.0" }, "devDependencies": { "fill-range": "^0.2.0", "mocha": "*", "should": "^4.3.0" }, "keywords": [ "array", "element", "item", "javascript", "long", "longest", "util", "utility", "utils" ], "_id": "longest@0.3.0", "_shasum": "0227b286f31b6a03b90e8d141220a59c34f292bf", "_from": ".", "_npmVersion": "1.4.9", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "dist": { "shasum": "0227b286f31b6a03b90e8d141220a59c34f292bf", "tarball": "https://registry.npmjs.org/longest/-/longest-0.3.0.tgz" }, "directories": {} }, "0.3.1": { "name": "longest", "version": "0.3.1", "description": "Get the longest item in an array.", "homepage": "https://github.com/jonschlinkert/longest", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "license": { "type": "MIT", "url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE" }, "main": "index.js", "files": [ "index.js" ], "scripts": { "test": "mocha" }, "engines": { "node": ">=0.10.0" }, "devDependencies": { "fill-range": "^1.4.0", "mocha": "*" }, "keywords": [ "array", "element", "item", "javascript", "long", "longest", "util", "utility", "utils" ], "gitHead": "972859afb09467a5d93b9bdad6ced544a3aab689", "_id": "longest@0.3.1", "_shasum": "036ccf531fef158e492ce3802c6c80e9f82678b4", "_from": ".", "_npmVersion": "1.4.28", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "dist": { "shasum": "036ccf531fef158e492ce3802c6c80e9f82678b4", "tarball": "https://registry.npmjs.org/longest/-/longest-0.3.1.tgz" }, "directories": {} }, "0.3.2": { "name": "longest", "version": "0.3.2", "description": "Get the longest item in an array.", "homepage": "https://github.com/jonschlinkert/longest", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "license": { "type": "MIT", "url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE" }, "main": "index.js", "files": [ "index.js" ], "scripts": { "test": "mocha" }, "engines": { "node": ">=0.10.0" }, "devDependencies": { "fill-range": "^2.1.0", "mocha": "*" }, "keywords": [ "array", "element", "item", "javascript", "long", "longest", "util", "utility", "utils" ], "gitHead": "fa7938763496320f62fd9ec3fbffeb97dad981d3", "_id": "longest@0.3.2", "_shasum": "d7e4743d40f740e30c38edd75f1bd348d8b5d240", "_from": ".", "_npmVersion": "2.5.1", "_nodeVersion": "0.12.0", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "dist": { "shasum": "d7e4743d40f740e30c38edd75f1bd348d8b5d240", "tarball": "https://registry.npmjs.org/longest/-/longest-0.3.2.tgz" }, "directories": {} }, "1.0.0": { "name": "longest", "version": "1.0.0", "description": "Get the longest item in an array.", "homepage": "https://github.com/jonschlinkert/longest", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "license": { "type": "MIT", "url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE" }, "main": "index.js", "files": [ "index.js" ], "scripts": { "test": "mocha" }, "engines": { "node": ">=0.10.0" }, "devDependencies": { "fill-range": "^2.1.0", "mocha": "*" }, "keywords": [ "array", "element", "item", "javascript", "long", "longest", "util", "utility", "utils" ], "gitHead": "bf98c3f06ea47796bdf3d344986a6b00e9721044", "_id": "longest@1.0.0", "_shasum": "4116c606d2959620bbdab43acd3c4a0019d1b157", "_from": ".", "_npmVersion": "2.5.1", "_nodeVersion": "0.12.0", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" }, { "name": "shinnn", "email": "snnskwtnb@gmail.com" } ], "dist": { "shasum": "4116c606d2959620bbdab43acd3c4a0019d1b157", "tarball": "https://registry.npmjs.org/longest/-/longest-1.0.0.tgz" }, "directories": {} }, "1.0.1": { "name": "longest", "description": "Get the longest item in an array.", "version": "1.0.1", "homepage": "https://github.com/jonschlinkert/longest", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "repository": { "type": "git", "url": "https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "license": { "type": "MIT", "url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE" }, "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "devDependencies": { "fill-range": "^2.1.0", "mocha": "*" }, "keywords": [ "array", "element", "item", "long", "length", "longest" ], "gitHead": "99d9d8257584500aedaea54427a828197c452b0a", "_id": "longest@1.0.1", "_shasum": "30a0b2da38f73770e8294a0d22e6625ed77d0097", "_from": ".", "_npmVersion": "2.5.1", "_nodeVersion": "0.12.0", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" }, { "name": "shinnn", "email": "snnskwtnb@gmail.com" } ], "dist": { "shasum": "30a0b2da38f73770e8294a0d22e6625ed77d0097", "tarball": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz" }, "directories": {} }, "2.0.0": { "name": "longest", "description": "Get the longest item in an array.", "version": "2.0.0", "homepage": "https://github.com/jonschlinkert/longest", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "contributors": [ { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" }, { "name": "Kevin Mårtensson", "url": "https://github.com/kevva" }, { "name": "Kyle Mitchell", "url": "https://kemitchell.com" }, { "name": "Shinnosuke Watanabe", "url": "https://shinnn.github.io" } ], "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "license": "MIT", "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "devDependencies": { "gulp-format-md": "^0.1.12", "mocha": "^3.3.0" }, "keywords": [ "array", "element", "item", "length", "long", "longest" ], "verb": { "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "lint": { "reflinks": true } }, "gitHead": "4e1ec1c3a6de0035aa4e8a9f6fe1508bb14c9d53", "_id": "longest@2.0.0", "_shasum": "557486e1f7e1dd6557330aa22834dee9a537e40c", "_from": ".", "_npmVersion": "4.2.0", "_nodeVersion": "7.7.3", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" }, { "name": "shinnn", "email": "snnskwtnb@gmail.com" }, { "name": "doowb", "email": "brian.woodward@gmail.com" } ], "dist": { "shasum": "557486e1f7e1dd6557330aa22834dee9a537e40c", "tarball": "https://registry.npmjs.org/longest/-/longest-2.0.0.tgz" }, "_npmOperationalInternal": { "host": "packages-18-east.internal.npmjs.com", "tmp": "tmp/longest-2.0.0.tgz_1493868461979_0.24191062455065548" }, "directories": {} }, "2.0.1": { "name": "longest", "description": "Get the longest item in an array.", "version": "2.0.1", "homepage": "https://github.com/jonschlinkert/longest", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "contributors": [ { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" }, { "name": "Kevin Mårtensson", "url": "https://github.com/kevva" }, { "name": "Kyle Mitchell", "url": "https://kemitchell.com" }, { "name": "Shinnosuke Watanabe", "url": "https://shinnn.github.io" } ], "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/longest.git" }, "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "license": "MIT", "files": [ "index.js" ], "main": "index.js", "engines": { "node": ">=0.10.0" }, "scripts": { "test": "mocha" }, "devDependencies": { "gulp-format-md": "^0.1.12", "mocha": "^3.3.0" }, "keywords": [ "array", "element", "item", "length", "long", "longest" ], "verb": { "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "lint": { "reflinks": true } }, "gitHead": "ac972ba4b20a4eb44ef119b8bc88cf20fa1aef22", "_id": "longest@2.0.1", "_shasum": "781e183296aa94f6d4d916dc335d0d17aefa23f8", "_from": ".", "_npmVersion": "4.6.1", "_nodeVersion": "7.7.3", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" }, { "name": "shinnn", "email": "snnskwtnb@gmail.com" }, { "name": "doowb", "email": "brian.woodward@gmail.com" } ], "dist": { "shasum": "781e183296aa94f6d4d916dc335d0d17aefa23f8", "tarball": "https://registry.npmjs.org/longest/-/longest-2.0.1.tgz" }, "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/longest-2.0.1.tgz_1495773465399_0.1704808978829533" }, "directories": {} } }, "readme": "# longest [![NPM version](https://img.shields.io/npm/v/longest.svg?style=flat)](https://www.npmjs.com/package/longest) [![NPM monthly downloads](https://img.shields.io/npm/dm/longest.svg?style=flat)](https://npmjs.org/package/longest) [![NPM total downloads](https://img.shields.io/npm/dt/longest.svg?style=flat)](https://npmjs.org/package/longest) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/longest.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/longest)\n\n> Get the longest item in an array.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save longest\n```\n\n## Install\n\nInstall with [bower](https://bower.io/)\n\n```sh\n$ bower install longest --save\n```\n\n## Usage\n\n```js\nvar longest = require('longest');\nlongest(['a', 'abcde', 'abc']);\n//=> 'abcde'\n\nlongest(['a', 'abcde', 'abc']).length;\n//=> 5\n```\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 25 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 4 | [shinnn](https://github.com/shinnn) |\n| 1 | [kevva](https://github.com/kevva) |\n| 1 | [kemitchell](https://github.com/kemitchell) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 26, 2017._", "maintainers": [ { "email": "brian.woodward@gmail.com", "name": "doowb" }, { "email": "github@sellside.com", "name": "jonschlinkert" }, { "email": "snnskwtnb@gmail.com", "name": "shinnn" } ], "time": { "modified": "2017-07-02T17:40:11.295Z", "created": "2014-01-14T08:35:38.193Z", "0.1.0": "2014-01-14T08:35:48.016Z", "0.2.0": "2014-03-28T15:01:06.141Z", "0.2.1": "2014-03-28T15:01:53.305Z", "0.3.0": "2014-11-28T21:52:28.119Z", "0.3.1": "2015-01-21T22:17:52.370Z", "0.3.2": "2015-02-24T23:26:43.420Z", "1.0.0": "2015-02-24T23:30:26.373Z", "1.0.1": "2015-03-31T11:38:21.482Z", "2.0.0": "2017-05-04T03:27:43.714Z", "2.0.1": "2017-05-26T04:37:46.330Z" }, "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/longest.git" }, "homepage": "https://github.com/jonschlinkert/longest", "bugs": { "url": "https://github.com/jonschlinkert/longest/issues" }, "readmeFilename": "README.md", "keywords": [ "array", "element", "item", "length", "long", "longest" ], "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "license": "MIT", "users": { "nickeltobias": true, "mojaray2k": true }, "contributors": [ { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" }, { "name": "Kevin Mårtensson", "url": "https://github.com/kevva" }, { "name": "Kyle Mitchell", "url": "https://kemitchell.com" }, { "name": "Shinnosuke Watanabe", "url": "https://shinnn.github.io" } ], "_attachments": {} }