import { write } from "https://deno.land/x/molt@0.17.2/lib/file.ts";
Write the given CollectResult
to file system.
Examples
Example 1
Example 1
await write(updates, {
onWrite: (file) => {
console.log(`Updated ${file.specifier}`);
},
});
Parameters
result: CollectResult
optional
options: WriteOptions = [UNSUPPORTED]