├── .gitignore ├── .npmignore ├── README.md ├── README.zh-CN.md ├── bin └── minipbjs ├── cli └── index.js ├── package.json ├── src ├── codegen.ts ├── options.ts ├── root-visitor.ts ├── static-dts.ts └── static-mini.ts ├── tests ├── README.md ├── cli │ ├── bar.proto │ ├── foo.proto │ └── test.js ├── codec │ ├── foo.proto │ └── test.js ├── convert │ ├── foo.proto │ └── test.js ├── enumx │ ├── foo.proto │ └── test.js ├── index.js ├── issues │ ├── issues.proto │ └── test.js ├── option_default │ ├── foo.proto │ └── test.js ├── option_packed │ ├── foo.proto │ └── test.js ├── service │ ├── foo.proto │ └── test.js ├── syntax │ ├── syntax_proto2.proto │ ├── syntax_proto3.proto │ └── test.js └── verify │ ├── foo.proto │ └── test.js └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | package-lock.json 4 | protobuf-bundles*.js 5 | dist -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | tests -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /bin/minipbjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/bin/minipbjs -------------------------------------------------------------------------------- /cli/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/cli/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/package.json -------------------------------------------------------------------------------- /src/codegen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/src/codegen.ts -------------------------------------------------------------------------------- /src/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/src/options.ts -------------------------------------------------------------------------------- /src/root-visitor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/src/root-visitor.ts -------------------------------------------------------------------------------- /src/static-dts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/src/static-dts.ts -------------------------------------------------------------------------------- /src/static-mini.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/src/static-mini.ts -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/cli/bar.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/cli/bar.proto -------------------------------------------------------------------------------- /tests/cli/foo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/cli/foo.proto -------------------------------------------------------------------------------- /tests/cli/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/cli/test.js -------------------------------------------------------------------------------- /tests/codec/foo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/codec/foo.proto -------------------------------------------------------------------------------- /tests/codec/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/codec/test.js -------------------------------------------------------------------------------- /tests/convert/foo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/convert/foo.proto -------------------------------------------------------------------------------- /tests/convert/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/convert/test.js -------------------------------------------------------------------------------- /tests/enumx/foo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/enumx/foo.proto -------------------------------------------------------------------------------- /tests/enumx/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/enumx/test.js -------------------------------------------------------------------------------- /tests/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/index.js -------------------------------------------------------------------------------- /tests/issues/issues.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/issues/issues.proto -------------------------------------------------------------------------------- /tests/issues/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/issues/test.js -------------------------------------------------------------------------------- /tests/option_default/foo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/option_default/foo.proto -------------------------------------------------------------------------------- /tests/option_default/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/option_default/test.js -------------------------------------------------------------------------------- /tests/option_packed/foo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/option_packed/foo.proto -------------------------------------------------------------------------------- /tests/option_packed/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/option_packed/test.js -------------------------------------------------------------------------------- /tests/service/foo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/service/foo.proto -------------------------------------------------------------------------------- /tests/service/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/service/test.js -------------------------------------------------------------------------------- /tests/syntax/syntax_proto2.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/syntax/syntax_proto2.proto -------------------------------------------------------------------------------- /tests/syntax/syntax_proto3.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/syntax/syntax_proto3.proto -------------------------------------------------------------------------------- /tests/syntax/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/syntax/test.js -------------------------------------------------------------------------------- /tests/verify/foo.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/verify/foo.proto -------------------------------------------------------------------------------- /tests/verify/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tests/verify/test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mustime/minipbjs/HEAD/tsconfig.json --------------------------------------------------------------------------------