torrust-index-types-lib
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

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";

/torrust-index-types-lib/

    Package Sidebar

    Install

    npm i torrust-index-types-lib

    Weekly Downloads

    8

    Version

    3.1.0

    License

    SEE LICENSE IN COPYRIGHT

    Unpacked Size

    21.9 kB

    Total Files

    27

    Last publish

    Collaborators

    • josecelano
    • mickvd99