Socket
Book a DemoInstallSign in
Socket

@baidu-map/bz-log

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baidu-map/bz-log

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

1.0.1
latest
npmnpm
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 11 Aug 2022

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.