New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

twin-protocol-dev

Package Overview
Dependencies
Maintainers
4
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twin-protocol-dev

The Twin Protocol SDK is a Node.js library that provides seamless integration with the Twin Platform API. This SDK allows developers to easily interact with AI-based twin models and perform other key operations within the Twin Platform Customer Portal.

latest
npmnpm
Version
2.2.15
Version published
Weekly downloads
79
58%
Maintainers
4
Weekly downloads
 
Created
Source

Twin Protocol SDK

The Twin Protocol SDK is a Node.js library that provides seamless integration with the Twin Platform API. This SDK allows developers to easily interact with AI-based twin models and perform other key operations within the Twin Platform Customer Portal.

Table of Contents

Requirements

To use this SDK, you will need Node.js and npm installed in your environment.

Node

  • Node installation on Windows

    Just go on the official Node.js website and download the installer. Also, be sure to have git available in your PATH, as npm might need it (You can find git here).

  • Node installation on Ubuntu

    You can install Node.js and npm easily with apt install, just run the following commands:

    $ sudo apt install nodejs
    $ sudo apt install npm
    
  • Other Operating Systems

    You can find more information about the installation on the official Node.js website and the official NPM website.

If the installation was successful, you should be able to run the following commands:

$ node --version
v20.13.1

$ npm --version
10.5.2

Install

$ npm install twin-protocol-dev

Configure environment variables

TP_ACCESS_KEY
TP_SECRET_KEY
TP_CLIENT_ID
TP_BASE_URL
TP_WS_URL

Usage

Initialization

Steps to initialize the SDK:

import TwinProtocol from "twin-protocol-dev";

const _twin = new TwinProtocol({
  TP_ACCESS_KEY: "your-access-key",
  TP_SECRET_KEY: "your-secret-key",
  TP_CLIENT_ID: "your-client-id",
  TP_BASE_URL: "your-base-url",
  TP_WS_URL: "your-ws-url",
});

For complete usage guides, examples, and API references, please visit the Twin SDK Documentation.

License

Twin Protocol, Inc 2025

FAQs

Package last updated on 27 Dec 2025

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