{"name":"hexo-log","version":"4.1.0","keywords":["website","blog","cms","framework","hexo"],"author":{"url":"https://zespia.tw","name":"Tommy Chen","email":"tommy351@gmail.com"},"license":"MIT","_id":"hexo-log@4.1.0","maintainers":[{"name":"ertrzyiks","email":"mateusz.derks@gmail.com"},{"name":"abnerchou","email":"hi@abnerchou.me"},{"name":"tommy351","email":"tommy351@gmail.com"},{"name":"hexobot","email":"hexojs@gmail.com"},{"name":"jlhwung","email":"jlhwung@gmail.com"},{"name":"tomap","email":"piartt@gmail.com"},{"name":"curben","email":"bushedge@protonmail.com"},{"name":"yoshinorin","email":"yoshinorin.net@outlook.com"}],"homepage":"https://hexo.io/","bugs":{"url":"https://github.com/hexojs/hexo-log/issues"},"dist":{"shasum":"54b42c250335067b5c60b4137f501607454efda0","tarball":"http://registry-npm.ywwl.com/hexo-log/download/hexo-log-4.1.0.tgz","fileCount":6,"integrity":"sha512-i2Sgxk8Cgx5viSjq5qW5N/rBFfwoCKQcH8qnnW1fawCapcdEAhIsq+Y3vbrs9bssyDlyU6Vqm4oQmosREaNI7Q==","signatures":[{"sig":"MEYCIQCyjKxwFqsJjQvd2uqzKd7cvQMcZ6H0ZDP2D7fFKlmI2AIhALNN52ysfH7ZFtGPVEHva4fznRxI8CWxTVN7j7qTNpFg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12064,"size":3854,"noattachment":false,"key":"/hexo-log/-/hexo-log-4.1.0.tgz"},"main":"dist/log.js","types":"./dist/log.d.ts","engines":{"node":">=14"},"gitHead":"a391fd6e4569edc76566e0f9e3286973f8e8d454","scripts":{"test":"mocha test/index.js --require ts-node/register","build":"tsc -b","clean":"tsc -b --clean","eslint":"eslint .","pretest":"npm run clean && npm run build","test-cov":"nyc --reporter=lcovonly npm test","prepublish ":"npm run clean && npm run build"},"_npmUser":{"name":"yoshinorin","email":"yoshinorin.net@outlook.com"},"repository":{"url":"git+https://github.com/hexojs/hexo-log.git","type":"git"},"_npmVersion":"6.14.8","description":"Logger for Hexo","directories":{},"_nodeVersion":"14.15.0","dependencies":{"picocolors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.0","chai":"^4.1.2","mocha":"^10.0.0","sinon":"^15.0.2","eslint":"^8.23.1","rewire":"^6.0.0","ts-node":"^10.9.1","typescript":"^5.0.3","@types/node":"^18.7.18","@types/rewire":"^2.5.28","eslint-config-hexo":"^5.0.0","@typescript-eslint/parser":"^5.37.0","@typescript-eslint/eslint-plugin":"^5.37.0"},"_npmOperationalInternal":{"tmp":"tmp/hexo-log_4.1.0_1690299064354_0.6300089647737503","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":1690299064486,"_cnpm_publish_time":1690299064486,"dist-tags":{"latest":"4.1.0"}}