sharec-schema
Version:
Utilities for configuration files merge
13 lines (12 loc) • 345 B
TypeScript
/**
* Creates JSON string from YAML string with order saving
* @param {string} str Raw YAML string
* @returns {string}
*/
export function fromYAML(str: string): string
/**
* Transforms given JSON string to YAML string with order saving
* @param {string} str JSON string
* @returns {string}
*/
export function toYAML(str: string): string