mirror of
https://github.com/tvytlx/ai-agent-deep-dive.git
synced 2026-04-04 08:04:48 +08:00
13 lines
252 B
JavaScript
13 lines
252 B
JavaScript
"use strict";
|
|
|
|
let parse = require("./parser-sync");
|
|
let pack = require("./packer-sync");
|
|
|
|
exports.read = function (buffer, options) {
|
|
return parse(buffer, options || {});
|
|
};
|
|
|
|
exports.write = function (png, options) {
|
|
return pack(png, options);
|
|
};
|