1
0
silverbullet/plug-api/plugos-syscall/yaml.ts

14 lines
242 B
TypeScript
Raw Normal View History

import { syscall } from "./syscall.ts";
export function parse(
text: string,
): Promise<any> {
return syscall("yaml.parse", text);
}
export function stringify(
obj: any,
): Promise<string> {
return syscall("yaml.stringify", obj);
}