106 lines
4.6 KiB
JSON
106 lines
4.6 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "longest@^1.0.1",
|
|
"scope": null,
|
|
"escapedName": "longest",
|
|
"name": "longest",
|
|
"rawSpec": "^1.0.1",
|
|
"spec": ">=1.0.1 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/align-text"
|
|
]
|
|
],
|
|
"_from": "longest@>=1.0.1 <2.0.0",
|
|
"_id": "longest@1.0.1",
|
|
"_inCache": true,
|
|
"_location": "/longest",
|
|
"_nodeVersion": "0.12.0",
|
|
"_npmUser": {
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
"_npmVersion": "2.5.1",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "longest@^1.0.1",
|
|
"scope": null,
|
|
"escapedName": "longest",
|
|
"name": "longest",
|
|
"rawSpec": "^1.0.1",
|
|
"spec": ">=1.0.1 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/align-text"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
|
|
"_shasum": "30a0b2da38f73770e8294a0d22e6625ed77d0097",
|
|
"_shrinkwrap": null,
|
|
"_spec": "longest@^1.0.1",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/align-text",
|
|
"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": "*"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "30a0b2da38f73770e8294a0d22e6625ed77d0097",
|
|
"tarball": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "99d9d8257584500aedaea54427a828197c452b0a",
|
|
"homepage": "https://github.com/jonschlinkert/longest",
|
|
"keywords": [
|
|
"array",
|
|
"element",
|
|
"item",
|
|
"long",
|
|
"length",
|
|
"longest"
|
|
],
|
|
"license": {
|
|
"type": "MIT",
|
|
"url": "https://github.com/jonschlinkert/longest/blob/master/LICENSE"
|
|
},
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "jonschlinkert",
|
|
"email": "github@sellside.com"
|
|
},
|
|
{
|
|
"name": "shinnn",
|
|
"email": "snnskwtnb@gmail.com"
|
|
}
|
|
],
|
|
"name": "longest",
|
|
"optionalDependencies": {},
|
|
"readme": "# 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) \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"
|
|
}
|