{"name":"hexo-log","version":"0.2.0","keywords":["website","blog","cms","framework","hexo"],"author":{"url":"http://zespia.tw","name":"Tommy Chen","email":"tommy351@gmail.com"},"license":"MIT","_id":"hexo-log@0.2.0","maintainers":[{"name":"hexobot","email":"hexojs@gmail.com"},{"name":"tommy351","email":"tommy351@gmail.com"},{"name":"abnerchou","email":"hi@abnerchou.me"}],"homepage":"http://hexo.io/","bugs":{"url":"https://github.com/hexojs/hexo-log/issues"},"dist":{"shasum":"d30fd45e1a12a83c88033586640485efc5df5a6f","tarball":"http://registry-npm.ywwl.com/hexo-log/download/hexo-log-0.2.0.tgz","integrity":"sha512-fzoc+GQexxPPILTjoOQILnA3ZG2MFgqMBVel4xvJ11pXptw9+f97ynTgDAExXafyp9Nz2ChXRuqlCYgPtZSlxQ==","signatures":[{"sig":"MEUCIQCOo78c7bNbxdT1WtskvcnuvrnwlE/HViWXJOwiGoIq5gIgVAHb9BtYyPq2hPBAVhjz9SxBVPYLzLavd7sVthnHPmA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2682,"noattachment":false,"key":"/hexo-log/-/hexo-log-0.2.0.tgz"},"main":"lib/log","gitHead":"e735e6867d873f187f29a77590dbb036ed3db1cc","scripts":{"jscs":"jscs .","test":"mocha test/index.js","eslint":"eslint .","test-cov":"istanbul cover --print both _mocha -- test/index.js"},"_npmUser":{"name":"abnerchou","email":"hi@abnerchou.me"},"repository":{"url":"git+https://github.com/hexojs/hexo-log.git","type":"git"},"_npmVersion":"5.3.0","description":"Logger for Hexo","directories":{"lib":"./lib"},"_nodeVersion":"6.9.1","dependencies":{"chalk":"^1.1.1","hexo-bunyan":"^1.0.0"},"devDependencies":{"chai":"^3.5.0","jscs":"^2.9.0","mocha":"^2.4.5","sinon":"^1.17.3","eslint":"^1.10.3","rewire":"^2.5.1","istanbul":"^0.4.2","chai-as-promised":"^5.2.0","jscs-preset-hexo":"^1.0.1","eslint-config-hexo":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/hexo-log-0.2.0.tgz_1503412249173_0.06679722433909774","host":"s3://npm-registry-packages"},"readme":"# hexo-log\n\n[![Build Status](https://github.com/hexojs/hexo-log/workflows/Tester/badge.svg?branch=master)](https://github.com/hexojs/hexo-log/actions?query=workflow%3ATester)\n[![NPM version](https://badge.fury.io/js/hexo-log.svg)](https://www.npmjs.com/package/hexo-log)\n[![Coverage Status](https://coveralls.io/repos/hexojs/hexo-log/badge.svg?branch=master)](https://coveralls.io/r/hexojs/hexo-log?branch=master)\n\nLogger for Hexo.\n\n## Installation\n\n``` bash\n$ npm install hexo-log --save\n```\n\n## Usage\n\n``` js\n// v3.x.x\nconst log = require('hexo-log')({\n  debug: false,\n  silent: false\n});\nlog.info('Hello world');\n\n// v4.x.x\nconst log = require('hexo-log').default({\n  debug: false,\n  silent: false\n});\nlog.info('Hello world');\n\n// v4.x.x (ES Module)\nimport { logger } from 'hexo-log';\n\nconst log = logger({\n  debug: false,\n  silent: false\n});\nlog.info('Hello world');\n```\n\nOption | Description | Default\n--- | --- | ---\n`debug` | Display debug message. | `false`\n`silent` | Don't display any message in console. | `false`\n\n## License\n\nMIT\n","publish_time":1503412250047,"_cnpm_publish_time":1503412250047,"dist-tags":{"latest":"4.1.0"}}