// Ported from js-yaml v3.13.1:
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
import { dump } from "./dumper/dumper.ts";
/**
 * Serializes `object` as a YAML document.
 *
 * You can disable exceptions by setting the skipInvalid option to true.
 */ export function stringify(obj, options) {
    return dump(obj, options);
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImh0dHBzOi8vZGVuby5sYW5kL3N0ZEAwLjE2Ni4wL2VuY29kaW5nL195YW1sL3N0cmluZ2lmeS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBQb3J0ZWQgZnJvbSBqcy15YW1sIHYzLjEzLjE6XG4vLyBodHRwczovL2dpdGh1Yi5jb20vbm9kZWNhL2pzLXlhbWwvY29tbWl0LzY2NWFhZGRhNDIzNDlkY2FlODY5ZjEyMDQwZDliMTBlZjE4ZDEyZGFcbi8vIENvcHlyaWdodCAyMDExLTIwMTUgYnkgVml0YWx5IFB1enJpbi4gQWxsIHJpZ2h0cyByZXNlcnZlZC4gTUlUIGxpY2Vuc2UuXG4vLyBDb3B5cmlnaHQgMjAxOC0yMDIyIHRoZSBEZW5vIGF1dGhvcnMuIEFsbCByaWdodHMgcmVzZXJ2ZWQuIE1JVCBsaWNlbnNlLlxuXG5pbXBvcnQgeyBkdW1wIH0gZnJvbSBcIi4vZHVtcGVyL2R1bXBlci50c1wiO1xuaW1wb3J0IHR5cGUgeyBEdW1wZXJTdGF0ZU9wdGlvbnMgfSBmcm9tIFwiLi9kdW1wZXIvZHVtcGVyX3N0YXRlLnRzXCI7XG5cbmV4cG9ydCB0eXBlIER1bXBPcHRpb25zID0gRHVtcGVyU3RhdGVPcHRpb25zO1xuXG4vKipcbiAqIFNlcmlhbGl6ZXMgYG9iamVjdGAgYXMgYSBZQU1MIGRvY3VtZW50LlxuICpc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