MCPcopy
hub / github.com/exceljs/exceljs / writeFile

Method writeFile

lib/csv/csv.js:173–182  ·  view source on GitHub ↗
(filename, options)

Source from the content-addressed store, hash-verified

171 }
172
173 writeFile(filename, options) {
174 options = options || {};
175
176 const streamOptions = {
177 encoding: options.encoding || 'utf8',
178 };
179 const stream = fs.createWriteStream(filename, streamOptions);
180
181 return this.write(stream, options);
182 }
183
184 async writeBuffer(options) {
185 const stream = new StreamBuf();

Callers

nothing calls this directly

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected