mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 20:49:23 +00:00
5 lines
128 B
TypeScript
5 lines
128 B
TypeScript
import yaml from "js-yaml";
|
|
import { fromThrowable } from "neverthrow";
|
|
|
|
export const safeYamlParse = fromThrowable(yaml.load);
|