UNPKG

axiodb

Version:

A blazing-fast, lightweight, and scalable nodejs package based DBMS for modern application. Supports schemas, encryption, and advanced query capabilities.

35 lines (34 loc) 956 B
export default class Converter { static ToObject(data: any): string; constructor(); /** * Converts a string to a boolean. * @param value The string to convert. * @returns The boolean value. */ ToBoolean(value: string): boolean; /** * Converts a string to a number. * @param value The string to convert. * @returns The number value. */ ToNumber(value: string): number; /** * Converts a string to a JSON object. * @param value The string to convert. * @returns The JSON object. */ ToObject(value: string): any; /** * Converts a JSON object to a string. * @param value The JSON object to convert. * @returns The string. */ ToString(value: object): string; /** * Converts a string to a string array. * @param value The string to convert. * @returns The string array. */ ToStringArray(value: string): string[]; }