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

1.14.1 • 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.

Dependencies (9)

Dev Dependencies (39)

Package Sidebar

Install

npm i @trinsic/trinsic

Weekly Downloads

2,838

Version

1.14.1

License

ISC

Unpacked Size

4.16 MB

Total Files

149

Last publish

Collaborators

  • janpieterz
  • scottphillipstrinsic
  • tmarkovski