{"_id":"sum-up","_rev":"14-df8e634fed21515429cbf6888ba8cc1c","name":"sum-up","description":"Summarize package information","dist-tags":{"latest":"3.0.1"},"versions":{"0.0.0":{"name":"sum-up","version":"0.0.0","description":"Summarize package information","repository":{"type":"git","url":"https://github.com/shinnn/sum-up"},"homepage":"https://github.com/shinnn/sum-up","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint *.js && jscs *.js","test":"node test.js","coverage":"istanbul cover test.js; ${npm_package_scripts_clean}","coveralls":"istanbul cover test.js && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/sum-up/blob/master/LICENSE"}],"files":["index.js","LICENSE"],"keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","cli-friendly"],"dependencies":{"chalk":"^0.5.1"},"devDependencies":{"eslint":"^0.10.0","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.8.1","tape":"^3.0.3"},"jscsConfig":{"preset":"google","maximumLineLength":98},"gitHead":"d74776e84ef34eb62ab61aa8393969d564617345","bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"_id":"sum-up@0.0.0","_shasum":"49d25f81b6cd2b51fd43ec9a5bd139929e408f85","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"49d25f81b6cd2b51fd43ec9a5bd139929e408f85","tarball":"https://registry.npmjs.org/sum-up/-/sum-up-0.0.0.tgz","integrity":"sha512-pVuQZhGgiFFvxLG7nouQ3X9WapAFBJJ9kVEOcXUhjVvPrnZvfTPuBakuHks4a4P58XsTfAuLjCeMckFLeKuKBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1tS6tTR5jiF0DdL3hpFaPXM9zCKThlq6IEq9T669bdQIhAKAiyNlFx8BzF260zFkUYj75lB7bOpeWkZ6G6dbfGz2R"}]}},"1.0.0":{"name":"sum-up","version":"1.0.0","description":"Summarize package information","repository":{"type":"git","url":"https://github.com/shinnn/sum-up"},"homepage":"https://github.com/shinnn/sum-up","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint *.js && jscs *.js","test":"node test.js","coverage":"istanbul cover test.js; ${npm_package_scripts_clean}","coveralls":"istanbul cover test.js && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/sum-up/blob/master/LICENSE"}],"files":["index.js","LICENSE"],"keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","cli-friendly"],"dependencies":{"chalk":"^0.5.1"},"devDependencies":{"eslint":"^0.10.0","istanbul":"^0.3.2","istanbul-coveralls":"^1.0.1","jscs":"^1.8.1","tape":"^3.0.3"},"jscsConfig":{"preset":"google","maximumLineLength":98},"gitHead":"0e132fb9787593a05ded378d3a41d1a3e929beb8","bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"_id":"sum-up@1.0.0","_shasum":"aea977b2794d2df695cc8aeb9fe1ba35f9865977","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"aea977b2794d2df695cc8aeb9fe1ba35f9865977","tarball":"https://registry.npmjs.org/sum-up/-/sum-up-1.0.0.tgz","integrity":"sha512-j4a2BgVtJVeHxtrVEitLTq1wBqkeSj6kJSjt4QKBGGPsiTj8w71raflCu2AUDwc4EeUPZTPuAhPcBsmNDZtgtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNdTX9r4EOdl/PxeYkM5agheM4rjuUk9bymaGrRL1KgwIhAOIZtd/D7ARa7BYrjDvDUN2v+xqaHjqluUb+4YcL5tbM"}]}},"1.0.1":{"name":"sum-up","version":"1.0.1","description":"Summarize package information","repository":{"type":"git","url":"https://github.com/shinnn/sum-up"},"homepage":"https://github.com/shinnn/sum-up","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"jscs *.js && eslint *.js","test":"node test.js --color && node test.js --no-color","coverage":"istanbul cover test.js -- --color","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"licenses":[{"type":"MIT","url":"https://github.com/shinnn/sum-up/blob/master/LICENSE"}],"files":["index.js"],"keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","cli-friendly"],"dependencies":{"chalk":"^1.0.0"},"devDependencies":{"eslint":"^0.15.0","istanbul":"^0.3.6","istanbul-coveralls":"^1.0.1","jscs":"^1.11.3","tape":"^3.5.0"},"jscsConfig":{"preset":"google","maximumLineLength":98,"requireBlocksOnNewline":true,"validateLineBreaks":"LF"},"gitHead":"420b903b037e7047d3f3ad8d71670423b4729177","bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"_id":"sum-up@1.0.1","_shasum":"5fbb54d7c380b8b41d11c0b95a68ea7e802e9324","_from":".","_npmVersion":"2.6.0","_nodeVersion":"1.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"5fbb54d7c380b8b41d11c0b95a68ea7e802e9324","tarball":"https://registry.npmjs.org/sum-up/-/sum-up-1.0.1.tgz","integrity":"sha512-vCbUAYewlxSzlm3Sgo16rvjj4jPUBgbgqnfH8hZ1vY3rL8SCwJXUh+bc5+Ns4LWf4/J42JWG8PN6buHtoRWmMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCk2EbSQiyhVt9KMainI/o/6jDJ6wqv5COrLp4X7zv2wIgX1GKthStQFKsvShf8/K6XRu9YATtxt06xR/Ci6bEEoY="}]}},"1.0.2":{"name":"sum-up","version":"1.0.2","description":"Summarize package information","repository":{"type":"git","url":"git+https://github.com/shinnn/sum-up.git"},"homepage":"https://github.com/shinnn/sum-up","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --config node_modules/@shinnn/eslintrc-node/rc.json index.js test.js","test":"node test.js --color && node test.js --no-color","coverage":"istanbul cover test.js -- --color","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"license":"MIT","files":["index.js"],"keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","cli-friendly"],"dependencies":{"chalk":"^1.0.0"},"devDependencies":{"@shinnn/eslintrc-node":"^1.0.2","eslint":"^0.22.1","istanbul":"^0.3.15","istanbul-coveralls":"^1.0.3","tape":"^4.0.0"},"gitHead":"75c74abb8c3628679715d2af046fc17d900ff78f","bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"_id":"sum-up@1.0.2","_shasum":"e05e5f788cb4d0c570759013ad49442c7b849c88","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"e05e5f788cb4d0c570759013ad49442c7b849c88","tarball":"https://registry.npmjs.org/sum-up/-/sum-up-1.0.2.tgz","integrity":"sha512-YdaS0Pya2xCEX4jghVtREQwRb11epX/xGSflRD9Ru99e8HI0DcX2bb3+SWVA+pDqLKff/PG/P3xkYys9yWMqcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNITv2P1UHNwNdlF8cyPaIKcGKt3wosYtEG8v/vzGLWwIgTjG4BO4jNysxrVCTKnf+vQkKLkKL6INIMGFeqDTqJ6Y="}]}},"1.0.3":{"name":"sum-up","version":"1.0.3","description":"Summarize package information","repository":{"type":"git","url":"git+https://github.com/shinnn/sum-up.git"},"homepage":"https://github.com/shinnn/sum-up","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --config @shinnn/node-legacy index.js test.js","test":"node --strong_mode test.js --color && node test.js --no-color","coverage":"node --strong_mode node_modules/.bin/istanbul cover test.js -- --color","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"license":"MIT","files":["index.js"],"keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","cli-friendly"],"dependencies":{"chalk":"^1.0.0"},"devDependencies":{"@shinnn/eslint-config-node-legacy":"^2.0.0","eslint":"^2.4.0","istanbul":"^0.4.2","tape":"^4.5.1"},"gitHead":"a69ca55de273f1dc8640befe4f9939bd29c12dce","bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"_id":"sum-up@1.0.3","_shasum":"1c661f667057f63bcb7875aa1438bc162525156e","_from":".","_npmVersion":"3.8.2","_nodeVersion":"5.9.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"1c661f667057f63bcb7875aa1438bc162525156e","tarball":"https://registry.npmjs.org/sum-up/-/sum-up-1.0.3.tgz","integrity":"sha512-zw5P8gnhiqokJUWRdR6F4kIIIke0+ubQSGyYUY506GCbJWtV7F6Xuy0j6S125eSX2oF+a8KdivsZ8PlVEH0Mcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIi5ctmVws1SfZgYDyxbDoIQH+bWdzsNYPt5OAoif2TAiBc5MySN3ofh9NQ69Mz/vZSma+2DR4Ss7B4UdG6e+Jj2Q=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sum-up-1.0.3.tgz_1458736084775_0.2654310546349734"}},"2.0.0":{"name":"sum-up","version":"2.0.0","description":"Summarize package information","repository":{"type":"git","url":"git+https://github.com/shinnn/sum-up.git"},"homepage":"https://github.com/shinnn/sum-up","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --config @shinnn/node-legacy --rule 'complexity: [error, 15]' index.js test.js","test":"node --strong_mode test.js --color && node test.js --no-color","coverage":"node --strong_mode node_modules/.bin/istanbul cover test.js -- --color","coveralls":"${npm_package_scripts_coverage} && istanbul-coveralls"},"license":"MIT","files":["index.js"],"keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","cli-friendly"],"dependencies":{"chalk":"^1.0.0"},"devDependencies":{"@shinnn/eslint-config-node-legacy":"^2.0.0","eslint":"^2.4.0","istanbul":"^0.4.2","tape":"^4.5.1"},"gitHead":"8b343fa25de75f5d6f38de458a6dd1e4e5025306","bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"_id":"sum-up@2.0.0","_shasum":"0781c71ef2047c93598653603e393459795db9c0","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.9.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"0781c71ef2047c93598653603e393459795db9c0","tarball":"https://registry.npmjs.org/sum-up/-/sum-up-2.0.0.tgz","integrity":"sha512-3fPo7Eg327co7BBLBrPk6jTdI5W3XmuBDWjnwAhuryJH32yWI25w5ufREOt4188tplce6Lix+PZzyClDFiGlig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbyrbgFgLQ3yJRB4pDwuu20rJSWWEyrkqvPS5SmQRB2AiEAr+lj/L2E5cZIY29BRLLFWJbwYe243hkgY4Muxrucg7k="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sum-up-2.0.0.tgz_1459160798124_0.6902368587907404"}},"3.0.0":{"name":"sum-up","version":"3.0.0","description":"Summarize package information","repository":{"type":"git","url":"git+https://github.com/shinnn/sum-up.git"},"homepage":"https://github.com/shinnn/sum-up","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test":"node test.js --color && node test.js --no-color","coverage":"node node_modules/.bin/istanbul cover test.js -- --color"},"license":"MIT","files":["index.js"],"keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","cli-friendly"],"dependencies":{"chalk":"^2.0.1","inspect-with-kind":"^1.0.2"},"devDependencies":{"@shinnn/eslint-config-node":"^4.0.0","ansi-styles":"^3.1.0","eslint":"^4.2.0","istanbul":"^0.4.5","tape":"^4.7.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"71d18aa6dea6e4859718efa963150387d36da4f8","bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"_id":"sum-up@3.0.0","_npmVersion":"5.1.0","_nodeVersion":"8.1.3","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-AymBdlRljpovSImbK6d0mxEinM9Pb7Yc3PDtjVaHqHSnuRjaT/Ri3x1DdB4dKF3O0wdzGr9fUG0+urU9VYPY1A==","shasum":"74e5b5c33b3ecb183507e5315c488b2c56a32827","tarball":"https://registry.npmjs.org/sum-up/-/sum-up-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNRI41wbBhRn0qX8dmCg6TwyJN+kOypI4UV0Bd3SZqWwIgfG5T410/xDH1PShw50HQ5FJWTWKcdRJDj1tELC/1a+M="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sum-up-3.0.0.tgz_1499655651361_0.5674858072306961"}},"3.0.1":{"name":"sum-up","version":"3.0.1","description":"Summarize package information","repository":{"type":"git","url":"git+https://github.com/shinnn/sum-up.git"},"homepage":"https://github.com/shinnn/sum-up","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test.js","test-no-coverage":"node test.js --color && node test.js --no-color","test":"nyc --reporter=html --reporter=text npm run-script test-no-coverage --silent"},"license":"ISC","files":["index.js"],"keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","colour","cli-friendly"],"dependencies":{"chalk":"^2.3.0","inspect-with-kind":"^1.0.3"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","ansi-styles":"^3.2.0","eslint":"^4.13.0","nyc":"^11.4.0","tape":"^4.8.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"2b0bed8cc5be2429e3631f054b336b4e9b2cecc9","bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"_id":"sum-up@3.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-FuYt7pQaWs1cvLtk+sM7f1f7/2Itop5MkDsPlR7jjTItP758MV22gbRXoQ2t0Q08WM1XbtyY8nNy20GE8GlIXg==","shasum":"b4d3f6fd3b3cfbea01da2368bf3b17f52e218144","tarball":"https://registry.npmjs.org/sum-up/-/sum-up-3.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwEI+0PxMeSrgjsU2Nngyx/J7RKlGPCqUf9v45g1KF6AiEAo8DkNnfW/1o8erObCo+Ecxjnpgn96u5kdxzKN9wP8Ro="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sum-up-3.0.1.tgz_1512969416713_0.13976735365577042"}}},"readme":"# sum-up\n\n[![npm version](https://img.shields.io/npm/v/sum-up.svg)](https://www.npmjs.com/package/sum-up)\n[![Build Status](https://travis-ci.org/shinnn/sum-up.svg?branch=master)](https://travis-ci.org/shinnn/sum-up)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/sum-up.svg)](https://coveralls.io/r/shinnn/sum-up)\n\nSummarize package information\n\n```javascript\nconst sumUp = require('sum-up');\nconsole.log(sumUp(require('./package.json')));\n```\n\n![Screenshot](./screenshot.png \"Screenshot\")\n\nIt helps your CLI tool to display information with `--help` flag.\n\n## Installation\n\n[Use npm.](https://docs.npmjs.com/cli/install)\n\n```\nnpm install sum-up\n```\n\n## API\n\n```javascript\nconst sumUp = require('sum-up');\n```\n\n### sumUp(*pkgData* [, *option*])\n\n*pkgData*: `Object`  \n*option*: `Object`  \nReturn: `string`\n\nIt joins the `name`, `version`, `homepage` and `description` properties (all is optional) of the first argument into a string colorized with [ANSI escape code](https://github.com/sindresorhus/ansi-styles).\n\n#### option.color\n\nType: `boolean`  \nDefault: `true` if [the environment supports colors](https://github.com/sindresorhus/supports-color), otherwise `false`\n\n`false` omits all ANSI escape code from the string.\n\n```javascript\nconst data = {\n  name: 'cli-name',\n  version: '0.6.11',\n  description: 'My CLI tool.'\n}\n\nsumUp(data); //=> '\\u001b[36mcli-name\\u001b[39m \\u001b[90mv0.6.11\\u001b[39m\\nMy CLI tool.'\nsumUp(data, {color: false}); //=> 'cli-name v0.6.11\\nMy CLI tool.'\n```\n\n## License\n\n[ISC License](./LICENSE) © 2017 Shinnosuke Watanabe\n","maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"time":{"modified":"2022-06-27T02:02:11.598Z","created":"2014-11-29T05:26:06.058Z","0.0.0":"2014-11-29T05:26:06.058Z","1.0.0":"2014-11-29T05:27:21.112Z","1.0.1":"2015-02-24T11:06:16.734Z","1.0.2":"2015-06-10T13:16:44.697Z","1.0.3":"2016-03-23T12:28:05.327Z","2.0.0":"2016-03-28T10:26:38.555Z","3.0.0":"2017-07-10T03:00:51.485Z","3.0.1":"2017-12-11T05:16:56.880Z"},"homepage":"https://github.com/shinnn/sum-up","keywords":["summerize","summary","brief","outline","info","information","description","data","package","color","colour","cli-friendly"],"repository":{"type":"git","url":"git+https://github.com/shinnn/sum-up.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bugs":{"url":"https://github.com/shinnn/sum-up/issues"},"readmeFilename":"README.md","license":"ISC"}