You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
.. | ||
light | 7 months ago | |
minimal | 7 months ago | |
README.md | 7 months ago | |
protobuf.js | 7 months ago | |
protobuf.js.map | 7 months ago | |
protobuf.min.js | 7 months ago | |
protobuf.min.js.map | 7 months ago |
README.md
This folder contains prebuilt browser versions of the full library. When sending pull requests, it is not required to update these.
Prebuilt files are in source control to enable pain-free frontend respectively CDN usage:
CDN usage
Development:
<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/protobuf.js"></script>
Production:
<script src="//cdn.rawgit.com/dcodeIO/protobuf.js/6.X.X/dist/protobuf.min.js"></script>
NOTE: Remember to replace the version tag with the exact release your project depends upon.
Frontend usage
Development:
<script src="node_modules/protobufjs/dist/protobuf.js"></script>
Production:
<script src="node_modules/protobufjs/dist/protobuf.min.js"></script>