{"name":"webpack-log","version":"3.0.0","description":"A Development Server in a Webpack Plugin","license":"MPL-2.0","repository":{"type":"git","url":"git+https://github.com/shellscape/webpack-log.git"},"author":{"name":"shellscape"},"homepage":"https://github.com/shellscape/webpack-log","bugs":{"url":"https://github.com/shellscape/webpack-log/issues"},"bin":"","main":"lib/index.js","engines":{"node":">= 8.0.0"},"scripts":{"ci:coverage":"nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov","ci:lint":"npm run lint && npm run security","ci:lint:commits":"commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}","ci:test":"npm run test -- --verbose","commitlint":"commitlint","commitmsg":"commitlint -e $GIT_PARAMS","lint":"eslint --fix --cache lib test","lint-staged":"lint-staged","security":"npm audit","test":"ava"},"dependencies":{"chalk":"^2.4.2","loglevelnext":"^3.0.1","nanoid":"^2.0.3"},"devDependencies":{"@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.0.0","ava":"^2.2.0","cpy":"^7.0.1","eslint":"^6.0.1","eslint-config-shellscape":"^2.0.2","lint-staged":"^9.2.0","nyc":"^14.1.1","pre-commit":"^1.2.2","prettier":"^1.14.3","sinon":"^7.3.2","standard-version":"^7.0.0"},"keywords":["log","logger","logging","console","terminal","webpack"],"ava":{"files":["!**/fixtures/**","!**/helpers/**","!**/recipes/**"]},"lint-staged":{"*.js":["eslint --fix","git add"]},"nyc":{"include":["lib/**/*.js"],"exclude":["lib/client*.js","test/"]},"pre-commit":"lint-staged","gitHead":"b3f88a0cd7a4c370289ba04f91d22684dc6eb9b8","_id":"webpack-log@3.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Ewl+ZCAa33zIcfqq6wd1EJn+fTjxMnCyHUUMe72TzzOG4P8oZblmCrJzl6N6CEb9qz8fAKB3aUpC1xYTdQommA==","shasum":"ab46af6a67dc5d41b9720eeba8ba15336fa53cde","tarball":"http://registry-npm.ywwl.com/webpack-log/download/webpack-log-3.0.0.tgz","fileCount":4,"unpackedSize":23217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQyp/CRA9TVsSAnZWagAA8BEP/2yvzSN/JNXAk8fL6Jjc\nXpWBb2bNffr+5F6yOrw0dcZJl4ZDszHJjG21ZLNQOMLCZvfR7C15Ffm66Vpf\nTS63LJN6QOYjwKIwMIElBozH/GuQMw90NfnkzDMr2zhz4oZT6mfbfrgdO9Tx\nW1OOX8RWz1IDBMMcgVYGeK8tD9W2wsW2L6q6b/fM6Cc/JjQ7qiMG3kvEFNZd\nV64/tYheVU8/1avz6oJWMxfO5jJoJVPBsGeIUlePvK2Syr5APVNK91meHbXf\ne0wFwKQAzLfgvjfUql5JEmRMNiOmGo8AGrcZ8QpehMuCtk+mb0ceaeGkOvhn\n0gwe/1uR2jegsWzsEhU0xDpHaODzkZXFAwM6t8gBw9g99h0lhqoHuaHWE+Sk\n/PnWB6xeL/jeQ1Pvvpsb5A7C2Kl1neqx0Bra6N4PWo5F27YkH1Kz7fzrGOnA\nndWgMemjt1u72/JsWpuGdwnMvF7a9pz+q7aKHVLMdWM9Yq8B9AQf7+58mIRc\no1jrTmqZjSLACyA8JIbJMYesYVYdz2ICFZDYhYNfL0K6oyraaxpNAUoqre27\nVPA3E65cTpKGVEQjbv0BN4aMkWfudwWjdm5/YRVsAEukfrpzDoEXQFvIvG6u\ngPQMsX87LPH3/zxRCl/jHIdGq+aTeOGqfVo3crlfDrSY/SuU5T2Yl3hLNgoE\nker4\r\n=vnVl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+pVeam/L+LUpH17x7lzALlVuLaxRO6czvhVUMgBKfAQIhANeTzY3Fod5KQ1aXReI+2ncq3EAhbMoqNBlwypDhoQEU"}],"size":8152,"noattachment":false,"key":"/webpack-log/-/webpack-log-3.0.0.tgz"},"maintainers":[{"email":"wiens.joshua@gmail.com","name":"d3viant0ne"},{"email":"andrew@shellscape.org","name":"shellscape"}],"_npmUser":{"name":"shellscape","email":"andrew@shellscape.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/webpack-log_3.0.0_1564682879003_0.8357037719333116"},"_hasShrinkwrap":false,"readme":"[tests]: \thttps://img.shields.io/circleci/project/github/shellscape/webpack-log.svg\n[tests-url]: https://circleci.com/gh/shellscape/webpack-log\n\n[cover]: https://codecov.io/gh/shellscape/webpack-log/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/shellscape/webpack-log\n\n[size]: https://packagephobia.now.sh/badge?p=webpack-log\n[size-url]: https://packagephobia.now.sh/result?p=webpack-log\n\n<div align=\"center\">\n\t<img width=\"180\" src=\"https://raw.githubusercontent.com/shellscape/webpack-log/master/assets/log.svg?sanitize=true\" alt=\"webpack-log\"><br/><br/>\n</div>\n\n[![tests][tests]][tests-url]\n[![cover][cover]][cover-url]\n[![size][size]][size-url]\n[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)\n\n# webpack-log\n\nA logger for the Webpack ecosystem.\n\n<a href=\"https://www.patreon.com/shellscape\">\n  <img src=\"https://c5.patreon.com/external/logo/become_a_patron_button@2x.png\" width=\"160\">\n</a>\n\n_Please consider donating if you find this project useful._\n\n## Requirements\n\nThis module requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+).\n\n## Install\n\nUsing npm:\n\n```console\nnpm install webpack-log --save-dev\n```\n\n## Usage\n\nCreate a new logger and use it to log something wild:\n\n```js\nconst getLogger = require('webpack-log');\nconst log = getLogger({ name: 'webpack-batman' });\n\nlog.info('Jingle Bells, Batman Smells');\nlog.warn('Robin laid an egg');\nlog.error('The Batmobile lost a wheel');\nlog.debug('And the Joker got away');\n```\n\nAnd there will appear magic in your console:\n\n<div align=\"center\">\n\t<img width=\"369\" src=\"assets/demo.png\" alt=\"console magic\"><br/><br/>\n</div>\n\n## Options\n\n### `level`\nType: `String`<br>\nDefault: `info`\n\nSpecifies the level the logger should use. A logger will not produce output for\nany log level _beneath_ the specified level. Valid level names, and their order are:\n\n```js\n[\n  'trace',\n  'debug',\n  'info',\n  'warn',\n  'error',\n  'silent'\n]\n```\n\nFor example, If a level was passed as `{ level: 'warn'}` then only calls to `warn` and `error` will be displayed in the terminal.\n\n### `name`\nType: `String`<br>\nDefault: `<webpack-log>`\n\nSpecifies the name of the logger to create. This value will be part of the log output prefix.\n\n### `timestamp`\nType: `Boolean`<br>\nDefault: `false`\n\nIf `true`, the logger will display a timestamp for log output, preceding all other data\n\n### `unique`\nType: `Boolean`<br>\nDefault: `true`\n\nIf `false`, the logger will use cached versions of a log with the same name. Due to the nature of the `webpack` ecosystem and multiple plugin/loader use in the same process, loggers are created as unique instances by default.\n\n## Meta\n\n[CONTRIBUTING](./.github/CONTRIBUTING.md)\n\n[LICENSE (Mozilla Public License)](./LICENSE)\n","publish_time":1564682879126,"_cnpm_publish_time":1564682879126,"dist-tags":{"latest":"3.0.2"}}