New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@protobuf-ts/runtime-angular

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@protobuf-ts/runtime-angular

Runtime library for using the protoc plugin "protobuf-ts" with Angular

  • 2.9.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@protobuf-ts/runtime-angular

Runtime library for using protobuf-ts with Angular.

Installation:

npm i @protobuf-ts/runtime @protobuf-ts/runtime-rpc @protobuf-ts/runtime-angular @protobuf-ts/twirp-transport

You probably want the protoc plugin as well:

npm i -D @protobuf-ts/plugin

Usage:

  • generate code
    npx protoc --ts_opt enable_angular_annotations --ts_out src/ my-message.proto
    
  • import the PbDatePipeModule to get the date pipe that works with google.protobuf.Timestamp or google.type.DateTime
  • import TwirpModule.forRoot() to get a Twirp transport that uses the Angular HttpClient

To learn more, please read the MANUAL or check the repository README for a quick overview.

Building this project

This project was generated with Angular CLI version 10.0.5.

To work with lerna, package.json has the publishConfig.directory set to ./dist/ and the lifecycle script scripts.version bumps the versions of peerDependencies and updates dist/package.jsons.

Keywords

FAQs

Package last updated on 24 Apr 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc