Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nest-serve

yuezm14ISC0.1.6TypeScript support: included

create nest application

nest, nest-cli, nest-application

readme

使用 nest-serve 转换pb

调用命令

//
nest-serve proto <path>
  -p:protobufjs --path 属性
  -o: ouput文件夹

调用方法

//

const { proto } = require('nest-serve/bin/lib/proto');
proto(path, options).then(valid => {

})