{"name":"clix-logger","version":"2.0.0","description":"Another console log wrapper with colored support and icons","main":"index.js","engines":{"node":">=8.11.1"},"scripts":{"lint":"eslint --cache --cache-location node_modules/.cache/ -f friendly '*.js' 'lib/*.js' 'specs/*.js'","test":"mocha-runner 'specs/**/*.js'","watch":"watch-spawn -p 'specs/**/*.js' -p 'index.js' -p 'src/**/*.js' -i npm run test","check":"npm run lint && 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":"changelogx install-hook","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"},"devDependencies":{"@typescript-eslint/eslint-plugin":"1.10.2","@typescript-eslint/parser":"1.10.2","babel-eslint":"10.0.1","changelogx":"4.0.0","eslint":"5.16.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"4.3.0","eslint-formatter-friendly":"6.0.0","eslint-plugin-import":"2.17.3","eslint-plugin-jsx-a11y":"6.2.1","eslint-plugin-mocha":"5.3.0","eslint-plugin-prettier":"3.1.0","eslint-plugin-react":"7.13.0","mocha-runner":"3.0.0","prettier":"1.18.2","proxyquire":"2.1.0","watch-spawn":"2.0.0"},"dependencies":{"chalk":"2.4.2","moment":"2.24.0"},"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":"fc2c77048ae24a6d0d2a973ae12e83b69b0047d6","_id":"clix-logger@2.0.0","_npmVersion":"6.5.0","_nodeVersion":"8.11.1","_npmUser":{"name":"royriojas","email":"royriojas@gmail.com"},"dist":{"integrity":"sha512-wAM3BDsVpKGRVY+foKqX+Ntbpku89jYxXmjdiN41EN7EmJmPU1k7PvRLzNUJsshrA2K18gOOyks6t3vaU47KrA==","shasum":"307a462bd42512a99cf7b6ac48f994670981dd21","tarball":"http://registry-npm.ywwl.com/clix-logger/download/clix-logger-2.0.0.tgz","fileCount":16,"unpackedSize":88476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJbJZCRA9TVsSAnZWagAAEf8P/3kxrFK3mciDHlRJKM/t\ntLn1hs0w66RfeAGl2ddToothpvtlVee5JSPfyT4+5U11yOPt8MyvtkivRHD1\n+/cmvwd6Y/x8QaXy69h3mbUOMbyn0iGnvZCW4QnG1LmexKkTq+gpkzCYtiDr\njpf8aG7x9SAM0DZxqCX+Zz3iWhb23TCEAnNtzTMHSXOX57NoQk/OdCGe5CFj\nOeP+c0dwQHbyJ2HVAFmBVZYPiP2M3gsZ43D7rLWsKAHJOtM/wMXxYY0XNg8F\nGgoOjLO4kR/JORFsK/t3QtQXpTnIkbM+nNp6Ca7MPQqb7EFqNWDtA6uOL9gq\n3U3AIo+ZvozjJDtiWCyX17GddoG4+UpYpbZS8kfpGo4GWUXH/COlpJYdBXCq\ndQg7fMlO9leqVvSpWbhJ4W3eJ7wkYstHPACMAaweyInolUNaA42EjNpB0Si7\nu8InHKiJwVgqd4NjPQG5r1owY//bBIF5suRsvccuSaWqReZpEOuio8qks3ej\nH+DxNZh9ksKaMAExd8wLj/6CQGa9GrQY3T2hcAN/TT04NqfBxSiS85liDCfb\nnzPriYcfiqC/K/GQCnLvwrlM7M3XQv7Os0B3U7BzXGydL9B+k6kQQaNxRl7E\nqkgVDUTN/N98PnjR+dfVrfio11hA4gX3j53hyrn/W1z59UvnYIZ96gprE4Ao\nl5WH\r\n=Tci+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2fq2xqy0ULQwoBmuIEZdW4LU3JwrpQyYmy6wuUHcunQIgeQNCIhm2ErdQlJRvP5muOoQC4VpEZVr1IMlLfxtrrx4="}],"size":69241,"noattachment":false,"key":"/clix-logger/-/clix-logger-2.0.0.tgz"},"maintainers":[{"name":"royriojas","email":"royriojas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clix-logger_2.0.0_1562751576522_0.3155233513445632"},"_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":1562751576669,"_cnpm_publish_time":1562751576669,"dist-tags":{"latest":"2.0.0"}}