@curvenote/schema
Version:
Schema and markdown parser for @curvenote/editor
12 lines • 428 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.toYAML = void 0;
const js_yaml_1 = __importDefault(require("js-yaml"));
function toYAML(doc) {
return js_yaml_1.default.dump(doc.toJSON());
}
exports.toYAML = toYAML;
//# sourceMappingURL=index.js.map
;