UNPKG

node-beget

Version:

Client library for accessing Beget API

22 lines (18 loc) 419 B
type InputFormat = 'json' | 'plain'; export interface BegetOptions { login: string; password: string; // inputFormat?: InputFormat; httpMethod?: 'POST' | 'GET'; } export interface RequestOptions { login: string; passwd: string; input_format?: InputFormat; output_format?: 'json'; // [x: string]: any; } export interface BegetCredentials { login: string; passwd: string; }