Socket
Socket
Sign inDemoInstall

@baidu-map/bz-log

Package Overview
Dependencies
18
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @baidu-map/bz-log

根据提交记录生成文档日志


Version published
Maintainers
1
Created

Readme

Source

@baidu-map/bz-log

根据git commit message 生成日志,最好配合 @baidu-map/bz 使用

安装

全局安装


npm install -g @baidu-map/bz-log

自定义日志格式

创建.bz-config.js文件

module.exports = {
    // 每条日志的内容
   renderLog:(logItem)=>{
        // markdown格式的字符串,会拼接成日志输出
        return markdownString
   }
};

使用

1.全局安装使用

直接在项目根目录下执行 bz-lg 即可

2.项目使用

在 package命令行中添加一个"log":"bz-log“

Keywords

FAQs

Last updated on 11 Aug 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc