motion
Version:
motion - moving development forward
75 lines (74 loc) • 4.13 kB
JSON
{
"_args": [
[
"longest@https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "longest@>=1.0.1 <2.0.0",
"_id": "longest@1.0.1",
"_inCache": true,
"_location": "/longest",
"_phantomChildren": {},
"_requested": {
"name": "longest",
"raw": "longest@https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
"rawSpec": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/align-text"
],
"_resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
"_shasum": "30a0b2da38f73770e8294a0d22e6625ed77d0097",
"_shrinkwrap": null,
"_spec": "longest@https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/longest/issues"
},
"dependencies": {},
"description": "Get the longest item in an array.",
"devDependencies": {
"fill-range": "^2.1.0",
"mocha": "*"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"homepage": "https://github.com/jonschlinkert/longest",
"keywords": [
"array",
"element",
"item",
"length",
"long",
"longest"
],
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE"
},
"main": "index.js",
"name": "longest",
"optionalDependencies": {},
"readme": "# longest [](http://badge.fury.io/js/longest) [](https://travis-ci.org/jonschlinkert/longest) \n\n> Get the longest item in an array.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i longest --save\n```\n### Install with [bower](https://github.com/bower/bower)\n\n```bash\nbower install longest --save\n```\n\n## Running tests\nInstall dev dependencies.\n\n```bash\nnpm i -d && npm test\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## Related projects\n* [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.\n* [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.\n* [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.\n* [repeat-string](https://github.com/jonschlinkert/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string.\n* [pad-right](https://github.com/jonschlinkert/pad-right): Right pad a string with zeros or a specified string. Fastest implementation.\n* [pad-left](https://github.com/jonschlinkert/pad-left): Left pad a string with zeros or a specified string. Fastest implementation. \n\n## Running tests\nInstall dev dependencies.\n\n```bash\nnpm i -d && npm test\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/longest/issues)\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2015 Jon Schlinkert \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 31, 2015._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/jonschlinkert/longest.git"
},
"scripts": {
"test": "mocha"
},
"version": "1.0.1"
}