UNPKG

axiodb

Version:

The Pure JavaScript Alternative to SQLite. Embedded NoSQL database for Node.js with MongoDB-style queries, zero native dependencies, built-in InMemoryCache, and web GUI. Perfect for desktop apps, CLI tools, and embedded systems. No compilation, no platfor

35 lines (34 loc) 947 B
export default class Converter { static ToObject(): 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[]; }