libp2p-gossipsub

v0.13.0
A typescript implementation of gossipsub
libp2p pubsub gossip

lint

eslint --ext .ts ts

release

aegir release --no-types

prebuild

tsc

build

npm run build:proto && npm run build:proto-types && cp -R ts/message src && npm run build:types

build:proto

pbjs -t static-module --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o ts/message/rpc.js ./ts/message/rpc.proto

build:proto-types

pbts -o ts/message/rpc.d.ts ts/message/rpc.js

build:types

aegir build --no-types

prepare

npm run build

pretest

npm run build

benchmark

node ./node_modules/.bin/benchmark 'test/benchmark/time-cache.test.js' --local

test

aegir test

test:node

aegir test --target node

test:browser

aegir test --target browser

Metadata

Downloads