@dashevo/protobufjs

v6.10.5
Protocol Buffers for JavaScript (& TypeScript).
protobuf protocol-buffers serialization typescript

bench

node bench

build

npm run build:bundle && npm run build:types

build:bundle

gulp --gulpfile scripts/gulpfile.js

build:types

node bin/pbts --main --global protobuf --out index.d.ts src/ lib/aspromise/index.js lib/base64/index.js lib/codegen/index.js lib/eventemitter/index.js lib/float/index.js lib/fetch/index.js lib/inquire/index.js lib/path/index.js lib/pool/index.js lib/utf8/index.js

changelog

node scripts/changelog -w

coverage

nyc tape -r ./lib/tape-adapter tests/*.js tests/node/*.js

docs

jsdoc -c config/jsdoc.json -R README.md --verbose --pedantic

lint

npm run lint:sources && npm run lint:types

lint:sources

eslint "**/*.js" -c config/eslint.json

lint:types

tslint "**/*.d.ts" -e "**/node_modules/**" -t stylish -c config/tslint.json

pages

node scripts/pages

prepublish

node scripts/prepublish

postinstall

node scripts/postinstall

prof

node bench/prof

test

npm run test:sources && npm run test:types

test:sources

tape -r ./lib/tape-adapter tests/*.js tests/node/*.js

test:types

tsc tests/comp_typescript.ts --lib es2015 --strictNullChecks --experimentalDecorators --emitDecoratorMetadata && tsc tests/data/test.js.ts --lib es2015 --noEmit --strictNullChecks && tsc tests/data/*.ts --lib es2015 --noEmit --strictNullChecks

make

npm run lint:sources && npm run build && npm run lint:types && node ./scripts/gentests.js && npm test
npm i @dashevo/protobufjs

Metadata

Downloads