Files
sdk-js/src/toml/index.ts
2024-03-06 19:39:31 -03:00

16 lines
332 B
TypeScript

// Copyright (c) Tribufu. All Rights Reserved.
// SPDX-License-Identifier: MIT
import toml from "toml";
export class TomlSerializer {
/**
* Parse toml string to object.
* @param toml
* @returns {any}
*/
public static fromString(tomlString: string): any {
return toml.parse(tomlString);
}
}