{"id":13548162,"url":"https://github.com/jonschlinkert/longest","last_synced_at":"2025-04-10T05:07:37.417Z","repository":{"id":13212024,"uuid":"15896113","full_name":"jonschlinkert/longest","owner":"jonschlinkert","description":"Get the length of the longest item in an array.","archived":false,"fork":false,"pushed_at":"2018-04-04T10:41:09.000Z","size":23,"stargazers_count":30,"open_issues_count":4,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T05:07:33.450Z","etag":null,"topics":["array","element","length","longest","value"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-14T08:16:59.000Z","updated_at":"2024-09-17T15:56:32.000Z","dependencies_parsed_at":"2022-08-23T20:11:21.620Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/longest","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flongest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flongest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flongest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flongest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/longest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161273,"owners_count":21057555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["array","element","length","longest","value"],"created_at":"2024-08-01T12:01:06.536Z","updated_at":"2025-04-10T05:07:37.395Z","avatar_url":"https://github.com/jonschlinkert.png","language":"JavaScript","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\u0026label=Travis)](https://travis-ci.org/jonschlinkert/longest)\n\n\u003e 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//=\u003e 'abcde'\n\nlongest(['a', 'abcde', 'abc']).length;\n//=\u003e 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 \u0026\u0026 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 \u0026\u0026 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._","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Flongest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonschlinkert%2Flongest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Flongest/lists"}