excelpb-s

1.1.4 • Public • Published

Convert excel files to protobuf serializable files

usage

npm install excelpb-s
excelpb -s -i <input file dir> -o <output file dir>

More useage, please use excelpb-s -h command.

excel sheet example

The sheet name must be sheetNickName_protobufMessageName this format.

The sheet first row is message field name, 2nd row is message field type and 3rd row is custom header.

eg:

id name #comment col
required uint32 string
编号 名称 该列带有#将被注释
1 example This col will be commented

Tips: If your cell value is number the field type can't be a string

Todo

[ ] check 2nd row's protobuf type

Readme

Keywords

none

Package Sidebar

Install

npm i excelpb-s

Weekly Downloads

6

Version

1.1.4

License

ISC

Last publish

Collaborators

  • matcloud