{"name":"clix-logger","version":"1.0.2","description":"Another console log wrapper with colored support and icons","main":"index.js","scripts":{"beautify":"esbeautifier index.js 'src/**/*.js' 'lib/**/*.js' 'specs/**/*.js'","beautify-check":"esbeautifier -k index.js 'src/**/*.js' 'lib/**/*.js' 'specs/**/*.js'","eslint":"eslinter index.js 'src/**/*.js' 'lib/**/*.js' 'specs/**/*.js'","test":"mocha-runner 'specs/**/*.js'","cover":"istanbul cover -x 'specs/**/*.js' mocha-runner 'specs/**/*.js' html text-summary","watch":"npm run cover && watch-spawn -p 'specs/**/*.js' -p 'index.js' -p 'src/**/*.js' npm run cover","lint":"npm run beautify --silent && npm run eslint --silent && npm test --silent","check":"npm run beautify-check && npm run eslint && npm test","changelog":"changelogx -f markdown -o ./changelog.md","do-changelog":"npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog' --no-verify","install-hooks":"prepush install && changelogx install-hook && precommit install","pre-v":"npm run check","post-v":"npm run do-changelog && git push --no-verify && git push --tags --no-verify","bump-major":"npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v","bump-minor":"npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v","bump-patch":"npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v"},"repository":{"type":"git","url":"git+https://github.com/royriojas/clix-logger.git"},"license":"MIT","author":{"name":"Roy Riojas","url":"http://royriojas.com"},"prepush":["npm run check"],"precommit":["npm run check"],"devDependencies":{"changelogx":"2.0.1","esbeautifier":"^4.2.7","eslinter":"^2.3.1","istanbul":"^0.3.17","mocha-runner":"^1.0.8","precommit":"^1.1.4","prepush":"^3.1.3","proxyquire":"^1.6.0","watch-spawn":"^1.0.4"},"dependencies":{"chalk":"1.1.3","extend":"3.0.0","moment":"2.22.2"},"bugs":{"url":"https://github.com/royriojas/clix-logger/issues"},"homepage":"https://github.com/royriojas/clix-logger","keywords":["console","logger","simple logger","loggy","colored output","color console"],"gitHead":"e362c832d80dc7454f5318a27b1f5eaeafdc17fe","_id":"clix-logger@1.0.2","_npmVersion":"5.8.0","_nodeVersion":"8.11.1","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"dist":{"integrity":"sha512-6APxcAFFCPE/plUK7uZ/UjQdz7EECRlN8vhzw0ustWvdhClTmzA6Fuyi99ItMhJEuPuEHGuq9mONtuXbAIhLOQ==","shasum":"4c543db73d8537ef7a79fa519ce2a135c51e98af","tarball":"http://registry-npm.ywwl.com/clix-logger/download/clix-logger-1.0.2.tgz","fileCount":14,"unpackedSize":78547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJba+ZOCRA9TVsSAnZWagAAVz8P/RWC4g9lPdKTVtY6d6ix\nIJdV15GhCM3YUekDeh/QOlliDl8K9R3tnE0kvxHEYqBKKPcMVTiVCBG/OixP\nP4fR63f8KaOTzPWT/skBSMfv25zw1MzLs/mn7wqNkJEW21rl6Y345TrcJdyI\nSOjMyMREGaRMq3ojUcct+NDjKEa3UFxNoxg8Yf5RTZbNLhFulj+ypRbANwH3\nyW0IMIzXWh36C44Yei7dj0F7LL15KLbAoKtw5P0Y4Fqfc+Nv7nR/IpKGVbFc\nxVmdEm4swQTahbYhCQun+dXe4/ckIuWcm+rw/FggXFL9N6zOUQ8ILD73qmAm\n+LAFk+Pb0sMpSzuabigMH4kJ2VYlOAQ7kyVhLi1oQ4oxq9OUUe9LCGuWvpdS\nblNfu3lMqB4bA+xvXXSfESh97ugRkVa1V5M7jqoZfOCLxlAeNUl0HYFtE4V1\nD9qtRj7G5rpYkJB1V03/2fXYbhPzDutLJt2PIaZaqVQ3jRDWxMmRXZcbZv+W\nB3l7zdMCbVBmx+nvsIKyJDMebeDDVN+oG+IjzhmpcEdGD+K1mkCD+LNx7bEe\nWlGf9h5xwgRcUrohOiHzzNlJnfLtGhSsNZ1tugCusHDv1UtBBiflQdJTDTpC\nDgXP5ZMH3knl9WojRBOicLSUMMs8Rvox1jCDHVooGhT52z21ZvqStA2gUc1t\n5jDZ\r\n=OqjY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJU1jNOcxjKH7DhbY76BiQfLFmyLtJTomnHbD2NPQJHwIgdYjltZ0205beJ75Xa5ufW6A6QeO9wiKHpawbsiAWtvM="}],"size":65484,"noattachment":false,"key":"/clix-logger/-/clix-logger-1.0.2.tgz"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clix-logger_1.0.2_1533797966011_0.4120227209658176"},"_hasShrinkwrap":false,"readme":"[![NPM Version](http://img.shields.io/npm/v/clix-logger.svg?style=flat)](https://npmjs.org/package/clix-logger)\n[![Build Status](http://img.shields.io/travis/royriojas/clix-logger.svg?style=flat)](https://travis-ci.org/royriojas/clix-logger)\n\n# clix-logger\nAnother console log wrapper with colored support and icons\n\n## Install\n\n```bash\nnpm i -g clix-logger\n```\n\n## Usage\n\n```javascript\nvar options = {\n  // Will print the messages using chalk colors. default is false\n  coloredOutput: false,\n  // Will suppress the output of `subtle` and `log` methods\n  // all of the others will still be printed\n  quiet: false // default is false,\n};\nvar logger = require('clix-logger')(options);\nlogger.log('some', 'message', 'here');\n```\n\n## methods\n\n- `ok(arg1[, arg2, ...argn] )`\n- `subtle(arg1[, arg2, ...argn] )`\n- `log(arg1[, arg2, ...argn] )`\n- `success(arg1[, arg2, ...argn] )`\n- `error(arg1[, arg2, ...argn] )`\n- `print(arg1[, arg2, ...argn] )`\n\n**NOTES**:\n\n- All the methods above use `console.log` to print the messages, except the `error` one, which uses `console.error`.\n- `subtle` and `log` are suppressed when `options.quiet` is specified.\n- `print` does not have an icon at the beginning of the line\n\n## Example\n\nthe following code\n\n```javascript\nvar logger = require('clix-logger')({ coloredOutput: true });\n\n# will use yellow color\nlogger.ok( 'a', 'simple', 'message', 'of', 'type', 'ok', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use white color\nlogger.subtle( 'a', 'simple', 'message', 'of', 'type', 'subtle', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use white color\nlogger.log( 'a', 'simple', 'message', 'of', 'type', 'log', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use red color\nlogger.error( 'a', 'simple', 'message', 'of', 'type', 'error', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use gray color\nlogger.print( 'a', 'simple', 'message', 'of', 'type', 'print', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n\n# will use green color\nlogger.success( 'a', 'simple', 'message', 'of', 'type', 'success', {\n  coloredOutput: false\n}, [ 1, 2, 3 ] );\n```\n\nWill produce this output:\n\n![screenshot](screenshot.png)\n\n## License\n\n[MIT](./LICENSE)\n\n## Changelog\n\n[Changelog](./changelog.md)\n","publish_time":1533797966165,"_cnpm_publish_time":1533797966165,"dist-tags":{"latest":"2.0.0"}}