
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
cosmjs-types
Advanced tools
JS and TS types relating to Protocol Buffers used by Cosmos SDK and other related projects
This section is for maintainers of this repo, not users.
# Pull external code
git submodule init
git submodule update
# Install dependencies
npm install
npm run codegen # Generate .ts files into ./src
npm run build # Build .js/.d.ts files
protobufjs is a popular library for working with Protocol Buffers in JavaScript. Unlike cosmjs-types, which is specific to Cosmos SDK, protobufjs is a general-purpose library that can be used with any protobuf schema. It provides tools for encoding, decoding, and verifying protobuf messages.
@cosmjs/stargate is a library for interacting with Cosmos SDK blockchains. While it includes some type definitions, its primary focus is on providing high-level client functionality for querying and broadcasting transactions. It complements cosmjs-types by offering a more comprehensive set of tools for blockchain interaction.
FAQs
JS and TS types relating to Protocol Buffers used by Cosmos SDK and other related projects
The npm package cosmjs-types receives a total of 419,187 weekly downloads. As such, cosmjs-types popularity was classified as popular.
We found that cosmjs-types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.