{"name":"log-utils","description":"Tiny wrapper around ansi-colors to add colored symbols and a timestamp.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/log-utils","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/log-utils.git"},"bugs":{"url":"https://github.com/jonschlinkert/log-utils/issues"},"license":"MIT","main":"index.js","engines":{"node":">=8.6"},"scripts":{"test":"mocha"},"dependencies":{"ansi-colors":"^3.2.1","time-stamp":"^2.2.0"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^5.2.0"},"keywords":["ansi","chalk","check","checkmark","cli","color","colors","command","console","cyan","error","green","info","line","log","red","stamp","success","terminal","time","time-stamp","timestamp","util","utility","utils","warn","warning","yellow"],"verb":{"layout":"default","plugins":["gulp-format-md"],"related":{"list":["ansi-colors"]}},"gitHead":"57283513c63bdb97ec733669879c3b257ce4b770","_id":"log-utils@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"integrity":"sha512-8djFr6wkux5KB7dgGbAwWYt4EUbJ+Z4ePdUMP+Bn7MePpoiXZoIx2SOnHCHfnDDNlPmVJvYPqvrpvpl1Xh9JvQ==","shasum":"159a5bf39439a77a3a2fd361215cad26023dfc28","tarball":"http://registry-npm.ywwl.com/log-utils/download/log-utils-1.0.0.tgz","fileCount":4,"unpackedSize":8949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8M9CCRA9TVsSAnZWagAAgCUP/ipEdTPUsvULg8EzzSf4\nWLxX41IN5EPL6B8mpy8UJoNvCx40ZwBvKRGXHU9cwlaQFuSxvs9fMGMvsEzB\n/zSKdW0FF/2V95m/1Ffao6h+2MwTmxG0cXROM4Q+92nGornd6llcTKxFqxRU\n7pGLeWoLuEChpg+RA9qJ52o7AldjB6RAqVzVUJbcamrOVGOUsdzr8TR9nttH\nIBPk0GfJ52XsGSTzu5yhmX7lrLuujrxGfbQU/rxSvccgx8HNEuikE1yGCnNy\n+AQd5iXe/GbMvFbPFh0LQVblmKaNoZRXt4lyRf4NnZDRxOAXHr5YAPZE8TAC\nZ58ydxh66S+Gsd8qU5mI0a7+u2Jfj2Fie4EIBQkXfbL+zCPwrZBihY0IJD4t\nyLyrK2YzQlvtfUISrOOGl0NEoCIje5Lg4kZxbHB4jvj0b6M4UNySerL4WtS7\nxKu0z4BW8EUqMo8Thow0ZavE9PzgywzjTwCrLPsejZ/LGX6cic3UdlaLM2tG\nZxG3qf/KhkoErdF5u612+2o9BgFpaY6Qqy/P5XB8fht1aDDRCc2vkiJkQRnS\nChZrh7JFiOQN/Y4t6q2WSnhhL0/bQoX5s7cKOQNlNQSAiJ5xB/opUfxg1CRi\n30qk8Xc2QRNPJgdL8j9VaZxFJ4ZjdZdWox2jxbuIv5Sr2UWVK5EoAGHSOXm5\nNXTp\r\n=+dNS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4pwCW2NlxtlwzroCt/dyN4YrCGE0ktx5vHxFd6XF9HAiEAtYefarbIyf68riI2T8CsiGUy9tKiDy637Gd5PEHyKxk="}],"size":3421,"noattachment":false,"key":"/log-utils/-/log-utils-1.0.0.tgz"},"maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log-utils_1.0.0_1542508353740_0.517712961303749"},"_hasShrinkwrap":false,"readme":"# log-utils [![NPM version](https://img.shields.io/npm/v/log-utils.svg?style=flat)](https://www.npmjs.com/package/log-utils) [![NPM monthly downloads](https://img.shields.io/npm/dm/log-utils.svg?style=flat)](https://npmjs.org/package/log-utils) [![NPM total downloads](https://img.shields.io/npm/dt/log-utils.svg?style=flat)](https://npmjs.org/package/log-utils) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/log-utils.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/log-utils)\n\n> Tiny wrapper around ansi-colors to add colored symbols and a timestamp.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save log-utils\n```\n\n## Usage\n\n```js\nconst log = require('log-utils');\n```\n\n## API\n\n### [.error](index.js#L23)\n\nGet a red error symbol.\n\n**Example**\n\n```js\nconsole.log(log.error); //=> ✖\n```\n\n### [.info](index.js#L35)\n\nGet a cyan info symbol.\n\n**Example**\n\n```js\nconsole.log(log.info); //=> ℹ\n```\n\n### [.success](index.js#L47)\n\nGet a green success symbol.\n\n**Example**\n\n```js\nconsole.log(log.success); //=> ✔\n```\n\n### [.warning](index.js#L59)\n\nGet a yellow warning symbol.\n\n**Example**\n\n```js\nconsole.log(log.warning); //=> ⚠\n```\n\n### [.timestamp](index.js#L71)\n\nGet a formatted timestamp.\n\n**Example**\n\n```js\nconsole.log(log.timestamp); //=> [15:27:46]\n```\n\n### [.ok](index.js#L93)\n\nReturns a formatted string prefixed by a green check.\n\n**Example**\n\n```js\nconsole.log(log.ok('   foo'));\nconsole.log(log.ok('  foo'));\nconsole.log(log.ok(' foo'));\nconsole.log(log.ok('foo'));\n// Results in:\n//    ✔ foo\n//   ✔ foo\n//  ✔ foo\n// ✔ foo\n```\n\n### [.heading](index.js#L112)\n\nMake the given text bold and underlined.\n\n**Example**\n\n```js\nconsole.log(log.heading('foo'));\n// or\nconsole.log(log.heading('foo', 'bar'));\n```\n\n### Colors\n\nAvailable colors from [ansi-colors](https://github.com/doowb/ansi-colors):\n\n## Changes\n\n**v0.2.0 (2016-07-16)**\n\n* `removed`: all spinner methods\n\n**v0.1.5 (2016-07-16)**\n\n* `added`: `.header` method\n* `fixed`: `.ok` method, so that whitespace is respected\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\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</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\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</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n[ansi-colors](https://www.npmjs.com/package/ansi-colors): Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in… [more](https://github.com/doowb/ansi-colors) | [homepage](https://github.com/doowb/ansi-colors \"Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).\")\n\n### Contributors\n\n| **Commits** | **Contributor** |  \n| --- | --- |  \n| 23 | [jonschlinkert](https://github.com/jonschlinkert) |  \n| 5  | [doowb](https://github.com/doowb) |  \n\n### Author\n\n**Jon Schlinkert**\n\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2018, [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.8.0, on November 17, 2018._","publish_time":1542508353851,"_cnpm_publish_time":1542508353851,"dist-tags":{"latest":"1.0.0"}}