json-joy
Version:
Collection of libraries for building collaborative editing apps.
14 lines (13 loc) • 335 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Encoder = void 0;
const encode_1 = require("./encode");
class Encoder {
constructor(options) {
this.options = options;
}
encode(patch) {
return (0, encode_1.encode)(patch, this.options);
}
}
exports.Encoder = Encoder;
;