mysql-protobuf

1.0.16 • Public • Published

mysql-protobuf

npm install mysql-protobuf -g

CLI usage Example

$ mysql-protobuf [input-file]

$ mysql-protobuf schema.sql > schema.proto


  ----- print -----
  syntax = "proto3";

  message core {
    int32 uid = 1;
    int32 cid = 2;
    int32 no = 3;
    string nickname = 4;
  }

JS usage

var convert = require('mysql-protobuf')
var file = fs.readFileSync('schema.sql').toString()
console.log(convert(file))

npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i mysql-protobuf

Weekly Downloads

13

Version

1.0.16

License

none

Unpacked Size

6.75 kB

Total Files

8

Last publish

Collaborators

  • rose2099c