@trinsic/trinsic
TypeScript icon, indicating that this package has built-in type declarations

1.11.4 • Public • Published

Trinsic SDK for Browsers and Node

Installation

npm install @trinsic/trinsic
import { TrinsicService } from "@trinsic/trinsic";

If you have need to override the transport method (for instance, old versions of Node), you can do it in the following manner:

import { TransportProvider } from "@trinsic/trinsic";
TransportProvider.overrideTransport = XHRTransport(); // or other `nice-grpc-web` transports
// Proceed to make your SDK calls here

Documentation

See documentation here

Maintainers

Dev Environment Setup

Install the following requirements:

npm run build:proto

After this, you can run npm ci and npm run build.

The build script will generate the proto files by running the Generate-Proto.ps1 script. You can also run this script manually.

Readme

Keywords

none

Package Sidebar

Install

Weekly Downloads

514

Version

1.11.4

License

ISC

Unpacked Size

3.77 MB

Total Files

146

Last publish

Collaborators

  • janpieterz
  • scottphillipstrinsic
  • tmarkovski