Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

troi-library

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troi-library

API library wrapper to interact with troi

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
Maintainers
5
Weekly downloads
 
Created
Source

troi-library

Interact with troi api v2 without hassle. Originally build by @nfelger.

Setup

npm i troi-library --save

Usage

import TroiApiService from "troi-library";

const troiUrl = "https://<MY_ORG>.troi.software/api/v2/rest";

const troiApi = new TroiApiService(troiUrl, username, password);
await troiApi.initialize();

troiApi.getCalculationPositions().then((pos) => {
  // ...
});

Keywords

FAQs

Package last updated on 23 Aug 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