Contains common types for the Torrust project.


Keywords
bittorrent, bittorrent-index, torrust
License
Sleepycat
Install
npm install torrust-index-types-lib@0.1.3

Documentation

Torrust Index Interface Types

Test

A simple TypeScript/ES6 library that contains all common types used by the Torrust Index project.

These types are used by:

NOTICE: This library only includes shared types, it does not include the API contract for all requests and responses.

Install

You can install this library using NPM:

npm i -S torrust-index-types-lib

Usage

Types can be imported using the import syntax:

import {User, Torrent} from "torrust-index-types-lib";