A simple TypeScript/ES6 library that contains all common types used by the Torrust Index project.
You can install this library using NPM:
npm i -S torrust-index-types-lib
Types can be imported using the import syntax:
import {User, Torrent} from "torrust-index-types-lib";