From ae64e26bd1638000a0f2454a4dcc5eefe656d9c5 Mon Sep 17 00:00:00 2001 From: Brian Pow Date: Fri, 12 Aug 2016 20:41:02 +0800 Subject: [PATCH 1/4] fix errors when running mocha test under windows platform --- test/example.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/example.js b/test/example.js index 0797d92..abc16d4 100644 --- a/test/example.js +++ b/test/example.js @@ -1,6 +1,8 @@ var fs = require('fs'); var assert = require('assert'); var JSZip = require('jszip'); +const os = require('os') +const path = require('path') var excelbuilder = require('..'); @@ -38,10 +40,10 @@ describe('It generates a simple workbook', function() { if (err) throw err; else { var buffer = zip.generate({type: "nodebuffer"}); - var OUTFILE = '/tmp/example.xlsx'; + const OUTFILE = [ os.tmpdir(), 'example.xlsx' ].join(path.sep) fs.writeFile(OUTFILE, buffer, function (err) { console.log('Test file written to ' + OUTFILE); - compareWorkbooks('./test/files/example.xlsx', OUTFILE) + compareWorkbooks([ 'test', 'files', 'example.xlsx' ].join(path.sep), OUTFILE) done(err); }); } @@ -49,7 +51,7 @@ describe('It generates a simple workbook', function() { }) it ('Supports the prior constructor syntax', function(done) { - var PATH = '/tmp'; + var PATH = os.tmpdir(); var FILENAME = 'example2.xlsx'; var workbook = excelbuilder.createWorkbook(PATH, FILENAME); var sheet1 = workbook.createSheet('sheet1', 10, 12); @@ -61,7 +63,7 @@ describe('It generates a simple workbook', function() { workbook.save(function (err) { if (err) throw err; else { - var OUTFILE = PATH + "/" + FILENAME; + const OUTFILE = [ PATH, FILENAME ].join(path.sep) console.log('Test file written to ' + OUTFILE); done() } From 2d47a78c4ba08f6939f6b9d2b13082a68ff6769a Mon Sep 17 00:00:00 2001 From: Brian Pow Date: Fri, 12 Aug 2016 23:38:47 +0800 Subject: [PATCH 2/4] fix the hard-coded slash which may cause error under Windows platform --- lib/msexcel-builder.js | 102 +++++++++++++++++++------------------ lib/msexcel-builder.js.map | 4 +- src/msexcel-builder.coffee | 3 +- 3 files changed, 56 insertions(+), 53 deletions(-) diff --git a/lib/msexcel-builder.js b/lib/msexcel-builder.js index bce2587..18deaec 100644 --- a/lib/msexcel-builder.js +++ b/lib/msexcel-builder.js @@ -1,4 +1,4 @@ -// Generated by CoffeeScript 1.8.0 +// Generated by CoffeeScript 1.10.0 /* MS Excel 2007 Creater v0.0.1 @@ -7,13 +7,15 @@ */ (function() { - var ContentTypes, DocPropsApp, JSZip, SharedStrings, Sheet, Style, Workbook, XlRels, XlWorkbook, baseXl, opt, tool, xml, - __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; + var ContentTypes, DocPropsApp, JSZip, SharedStrings, Sheet, Style, Workbook, XlRels, XlWorkbook, baseXl, opt, path, tool, xml, + bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; JSZip = require('jszip'); xml = require('xmlbuilder'); + path = require('path'); + tool = { i2a: function(i) { return 'ABCDEFGHIJKLMNOPQRSTUVWXYZ123'.charAt(i - 1); @@ -30,7 +32,7 @@ } ContentTypes.prototype.toxml = function() { - var i, types, _i, _ref; + var i, l, ref, types; types = xml.create('Types', { version: '1.0', encoding: 'UTF-8', @@ -61,7 +63,7 @@ PartName: '/docProps/app.xml', ContentType: 'application/vnd.openxmlformats-officedocument.extended-properties+xml' }); - for (i = _i = 1, _ref = this.book.sheets.length; 1 <= _ref ? _i <= _ref : _i >= _ref; i = 1 <= _ref ? ++_i : --_i) { + for (i = l = 1, ref = this.book.sheets.length; 1 <= ref ? l <= ref : l >= ref; i = 1 <= ref ? ++l : --l) { types.ele('Override', { PartName: '/xl/worksheets/sheet' + i + '.xml', ContentType: 'application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml' @@ -88,7 +90,7 @@ } DocPropsApp.prototype.toxml = function() { - var i, props, tmp, _i, _ref; + var i, l, props, ref, tmp; props = xml.create('Properties', { version: '1.0', encoding: 'UTF-8', @@ -109,7 +111,7 @@ size: this.book.sheets.length, baseType: 'lpstr' }); - for (i = _i = 1, _ref = this.book.sheets.length; 1 <= _ref ? _i <= _ref : _i >= _ref; i = 1 <= _ref ? ++_i : --_i) { + for (i = l = 1, ref = this.book.sheets.length; 1 <= ref ? l <= ref : l >= ref; i = 1 <= ref ? ++l : --l) { tmp.ele('vt:lpstr', this.book.sheets[i - 1].name); } props.ele('Company'); @@ -130,7 +132,7 @@ } XlWorkbook.prototype.toxml = function() { - var i, tmp, wb, _i, _ref; + var i, l, ref, tmp, wb; wb = xml.create('workbook', { version: '1.0', encoding: 'UTF-8', @@ -155,7 +157,7 @@ windowHeight: '11640' }); tmp = wb.ele('sheets'); - for (i = _i = 1, _ref = this.book.sheets.length; 1 <= _ref ? _i <= _ref : _i >= _ref; i = 1 <= _ref ? ++_i : --_i) { + for (i = l = 1, ref = this.book.sheets.length; 1 <= ref ? l <= ref : l >= ref; i = 1 <= ref ? ++l : --l) { tmp.ele('sheet', { name: this.book.sheets[i - 1].name, sheetId: '' + i, @@ -178,14 +180,14 @@ } XlRels.prototype.toxml = function() { - var i, rs, _i, _ref; + var i, l, ref, rs; rs = xml.create('Relationships', { version: '1.0', encoding: 'UTF-8', standalone: true }); rs.att('xmlns', 'http://schemas.openxmlformats.org/package/2006/relationships'); - for (i = _i = 1, _ref = this.book.sheets.length; 1 <= _ref ? _i <= _ref : _i >= _ref; i = 1 <= _ref ? ++_i : --_i) { + for (i = l = 1, ref = this.book.sheets.length; 1 <= ref ? l <= ref : l >= ref; i = 1 <= ref ? ++l : --l) { rs.ele('Relationship', { Id: 'rId' + i, Type: 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet', @@ -233,7 +235,7 @@ }; SharedStrings.prototype.toxml = function() { - var i, si, sst, _i, _ref; + var i, l, ref, si, sst; sst = xml.create('sst', { version: '1.0', encoding: 'UTF-8', @@ -242,7 +244,7 @@ sst.att('xmlns', 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'); sst.att('count', '' + this.arr.length); sst.att('uniqueCount', '' + this.arr.length); - for (i = _i = 0, _ref = this.arr.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) { + for (i = l = 0, ref = this.arr.length; 0 <= ref ? l < ref : l > ref; i = 0 <= ref ? ++l : --l) { si = sst.ele('si'); si.ele('t', this.arr[i]); si.ele('phoneticPr', { @@ -258,16 +260,16 @@ })(); Sheet = (function() { - function Sheet(book, name, cols, rows) { - var i, j, _i, _j, _ref, _ref1; + function Sheet(book, name1, cols1, rows1) { + var i, j, l, n, ref, ref1; this.book = book; - this.name = name; - this.cols = cols; - this.rows = rows; + this.name = name1; + this.cols = cols1; + this.rows = rows1; this.data = {}; - for (i = _i = 1, _ref = this.rows; 1 <= _ref ? _i <= _ref : _i >= _ref; i = 1 <= _ref ? ++_i : --_i) { + for (i = l = 1, ref = this.rows; 1 <= ref ? l <= ref : l >= ref; i = 1 <= ref ? ++l : --l) { this.data[i] = {}; - for (j = _j = 1, _ref1 = this.cols; 1 <= _ref1 ? _j <= _ref1 : _j >= _ref1; j = 1 <= _ref1 ? ++_j : --_j) { + for (j = n = 1, ref1 = this.cols; 1 <= ref1 ? n <= ref1 : n >= ref1; j = 1 <= ref1 ? ++n : --n) { this.data[i][j] = { v: 0 }; @@ -348,7 +350,7 @@ }; Sheet.prototype.toxml = function() { - var c, cols, cw, ht, i, ix, j, m, mc, r, sd, sid, ws, _i, _j, _k, _l, _len, _len1, _ref, _ref1, _ref2, _ref3; + var c, cols, cw, ht, i, ix, j, l, len, len1, m, mc, n, p, q, r, ref, ref1, ref2, ref3, sd, sid, ws; ws = xml.create('worksheet', { version: '1.0', encoding: 'UTF-8', @@ -367,9 +369,9 @@ }); if (this.col_wd.length > 0) { cols = ws.ele('cols'); - _ref = this.col_wd; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - cw = _ref[_i]; + ref = this.col_wd; + for (l = 0, len = ref.length; l < len; l++) { + cw = ref[l]; cols.ele('col', { min: '' + cw.c, max: '' + cw.c, @@ -379,7 +381,7 @@ } } sd = ws.ele('sheetData'); - for (i = _j = 1, _ref1 = this.rows; 1 <= _ref1 ? _j <= _ref1 : _j >= _ref1; i = 1 <= _ref1 ? ++_j : --_j) { + for (i = n = 1, ref1 = this.rows; 1 <= ref1 ? n <= ref1 : n >= ref1; i = 1 <= ref1 ? ++n : --n) { r = sd.ele('row', { r: '' + i, spans: '1:' + this.cols @@ -389,7 +391,7 @@ r.att('ht', ht); r.att('customHeight', '1'); } - for (j = _k = 1, _ref2 = this.cols; 1 <= _ref2 ? _k <= _ref2 : _k >= _ref2; j = 1 <= _ref2 ? ++_k : --_k) { + for (j = p = 1, ref2 = this.cols; 1 <= ref2 ? p <= ref2 : p >= ref2; j = 1 <= ref2 ? ++p : --p) { ix = this.data[i][j]; sid = this.style_id(j, i); if ((ix.v !== 0) || (sid !== 1)) { @@ -410,9 +412,9 @@ mc = ws.ele('mergeCells', { count: this.merges.length }); - _ref3 = this.merges; - for (_l = 0, _len1 = _ref3.length; _l < _len1; _l++) { - m = _ref3[_l]; + ref3 = this.merges; + for (q = 0, len1 = ref3.length; q < len1; q++) { + m = ref3[q]; mc.ele('mergeCell', { ref: '' + tool.i2a(m.from.col) + m.from.row + ':' + tool.i2a(m.to.col) + m.to.row }); @@ -549,7 +551,7 @@ }; Style.prototype.toxml = function() { - var bders, cs, e, ea, es, fills, fonts, o, ss, _i, _j, _k, _l, _len, _len1, _len2, _len3, _ref, _ref1, _ref2, _ref3; + var bders, cs, e, ea, es, fills, fonts, l, len, len1, len2, len3, n, o, p, q, ref, ref1, ref2, ref3, ss; ss = xml.create('styleSheet', { version: '1.0', encoding: 'UTF-8', @@ -559,9 +561,9 @@ fonts = ss.ele('fonts', { count: this.mfonts.length }); - _ref = this.mfonts; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - o = _ref[_i]; + ref = this.mfonts; + for (l = 0, len = ref.length; l < len; l++) { + o = ref[l]; e = fonts.ele('font'); if (o.bold !== '-') { e.ele('b'); @@ -595,9 +597,9 @@ fills = ss.ele('fills', { count: this.mfills.length }); - _ref1 = this.mfills; - for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { - o = _ref1[_j]; + ref1 = this.mfills; + for (n = 0, len1 = ref1.length; n < len1; n++) { + o = ref1[n]; e = fills.ele('fill'); es = e.ele('patternFill', { patternType: o.type @@ -617,9 +619,9 @@ bders = ss.ele('borders', { count: this.mbders.length }); - _ref2 = this.mbders; - for (_k = 0, _len2 = _ref2.length; _k < _len2; _k++) { - o = _ref2[_k]; + ref2 = this.mbders; + for (p = 0, len2 = ref2.length; p < len2; p++) { + o = ref2[p]; e = bders.ele('border'); if (o.left !== '-') { e.ele('left', { @@ -672,9 +674,9 @@ cs = ss.ele('cellXfs', { count: this.mstyle.length }); - _ref3 = this.mstyle; - for (_l = 0, _len3 = _ref3.length; _l < _len3; _l++) { - o = _ref3[_l]; + ref3 = this.mstyle; + for (q = 0, len3 = ref3.length; q < len3; q++) { + o = ref3[q]; e = cs.ele('xf', { numFmtId: '0', fontId: o.font_id - 1, @@ -726,11 +728,11 @@ })(); Workbook = (function() { - function Workbook(fpath, fname) { - this.fpath = fpath; - this.fname = fname; - this.generate = __bind(this.generate, this); - this.save = __bind(this.save, this); + function Workbook(fpath1, fname1) { + this.fpath = fpath1; + this.fname = fname1; + this.generate = bind(this.generate, this); + this.save = bind(this.save, this); this.id = '' + parseInt(Math.random() * 9999999); this.sheets = []; this.ss = new SharedStrings; @@ -750,7 +752,7 @@ Workbook.prototype.save = function(cb) { var target; - target = this.fpath + '/' + this.fname; + target = this.fpath + path.sep + this.fname; return this.generate(function(err, zip) { var buffer; buffer = zip.generate({ @@ -761,7 +763,7 @@ }; Workbook.prototype.generate = function(cb) { - var i, key, zip, _i, _ref; + var i, key, l, ref, zip; zip = new JSZip; for (key in baseXl) { zip.file(key, baseXl[key]); @@ -771,7 +773,7 @@ zip.file('xl/workbook.xml', this.wb.toxml()); zip.file('xl/sharedStrings.xml', this.ss.toxml()); zip.file('xl/_rels/workbook.xml.rels', this.re.toxml()); - for (i = _i = 0, _ref = this.sheets.length; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) { + for (i = l = 0, ref = this.sheets.length; 0 <= ref ? l < ref : l > ref; i = 0 <= ref ? ++l : --l) { zip.file('xl/worksheets/sheet' + (i + 1) + '.xml', this.sheets[i].toxml()); } zip.file('xl/styles.xml', this.st.toxml()); diff --git a/lib/msexcel-builder.js.map b/lib/msexcel-builder.js.map index 1fc3637..eeab403 100644 --- a/lib/msexcel-builder.js.map +++ b/lib/msexcel-builder.js.map @@ -6,5 +6,5 @@ "msexcel-builder.coffee" ], "names": [], - "mappings": ";AAAA;AAAA;;;;GAAA;AAAA;AAAA;AAAA,MAAA,mHAAA;IAAA,kFAAA;;AAAA,EAKA,KAAA,GAAQ,OAAA,CAAQ,OAAR,CALR,CAAA;;AAAA,EAMA,GAAA,GAAM,OAAA,CAAQ,YAAR,CANN,CAAA;;AAAA,EAQA,IAAA,GACE;AAAA,IAAA,GAAA,EAAM,SAAC,CAAD,GAAA;AACJ,aAAO,+BAA+B,CAAC,MAAhC,CAAuC,CAAA,GAAE,CAAzC,CAAP,CADI;IAAA,CAAN;GATF,CAAA;;AAAA,EAYA,GAAA,GACE;AAAA,IAAA,SAAA,EAAY,SAAZ;GAbF,CAAA;;AAAA,EAeM;AACS,IAAA,sBAAE,IAAF,GAAA;AAAQ,MAAP,IAAC,CAAA,OAAA,IAAM,CAAR;IAAA,CAAb;;AAAA,2BAEA,KAAA,GAAM,SAAA,GAAA;AACJ,UAAA,kBAAA;AAAA,MAAA,KAAA,GAAQ,GAAG,CAAC,MAAJ,CAAW,OAAX,EAAmB;AAAA,QAAC,OAAA,EAAQ,KAAT;AAAA,QAAe,QAAA,EAAS,OAAxB;AAAA,QAAgC,UAAA,EAAW,IAA3C;OAAnB,CAAR,CAAA;AAAA,MACA,KAAK,CAAC,GAAN,CAAU,OAAV,EAAkB,8DAAlB,CADA,CAAA;AAAA,MAEA,KAAK,CAAC,GAAN,CAAU,UAAV,EAAqB;AAA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A,EAAE,CAAC,KAAJ,CAAA,CAAhC;MAEA,GAAG,CAAC,IAAJ,CAAS,4BAAT,EAAsC,IAAC,CAAA,EAAE,CAAC,KAAJ,CAAA,CAAtC;AAEA,WAAS,2FAAT;QACE,GAAG,CAAC,IAAJ,CAAS,qBAAA,GAAsB,CAAC,CAAA,GAAE,CAAH,CAAtB,GAA4B,MAArC,EAA4C,IAAC,CAAA,MAAO,CAAA,CAAA,CAAE,CAAC,KAAX,CAAA,CAA5C;AADF;MAGA,GAAG,CAAC,IAAJ,CAAS,eAAT,EAAyB,IAAC,CAAA,EAAE,CAAC,KAAJ,CAAA,CAAzB;aACA,EAAA,CAAG,IAAH,EAAS,GAAT;IAtBQ;;uBAwBV,MAAA,GAAQ,SAAA;aAEN,OAAO,CAAC,KAAR,CAAc,iCAAd;IAFM;;;;;;EAIV,MAAM,CAAC,OAAP,GACE;IAAA,cAAA,EAAgB,SAAC,KAAD,EAAQ,KAAR;AACd,aAAW,IAAA,QAAA,CAAS,KAAT,EAAgB,KAAhB;IADG,CAAhB;;;EAIF,MAAA,GACE;IAAA,aAAA,EAAe,4kBAAf;IACA,mBAAA,EAAoB,8lBADpB;IAEA,qBAAA,EAAsB,4wNAFtB;IAGA,eAAA,EAAgB,uhCAHhB;;AAjYF" +}} \ No newline at end of file diff --git a/src/msexcel-builder.coffee b/src/msexcel-builder.coffee index d1a1403..68daf06 100644 --- a/src/msexcel-builder.coffee +++ b/src/msexcel-builder.coffee @@ -5,6 +5,7 @@ ### JSZip = require 'jszip' xml = require 'xmlbuilder' +path = require 'path' tool = i2a : (i) -> @@ -341,7 +342,7 @@ class Workbook return sheet save: (cb) => - target = @fpath + '/' + @fname + target = @fpath + path.sep + @fname @generate (err, zip) -> buffer = zip.generate(type: 'nodebuffer') # dependence on file system isolated to this function From e90252cc291f623f18e8df41d638327f3da2611f Mon Sep 17 00:00:00 2001 From: Brian Pow Date: Sat, 13 Aug 2016 01:37:16 +0800 Subject: [PATCH 3/4] add Workbook.saveSync() --- lib/msexcel-builder.js | 20 ++++++++++++++++++-- lib/msexcel-builder.js.map | 4 ++-- src/msexcel-builder.coffee | 11 ++++++++--- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/lib/msexcel-builder.js b/lib/msexcel-builder.js index 18deaec..dab550e 100644 --- a/lib/msexcel-builder.js +++ b/lib/msexcel-builder.js @@ -732,7 +732,9 @@ this.fpath = fpath1; this.fname = fname1; this.generate = bind(this.generate, this); + this._save = bind(this._save, this); this.save = bind(this.save, this); + this.saveSync = bind(this.saveSync, this); this.id = '' + parseInt(Math.random() * 9999999); this.sheets = []; this.ss = new SharedStrings; @@ -750,15 +752,29 @@ return sheet; }; + Workbook.prototype.saveSync = function() { + return this._save(null, true); + }; + Workbook.prototype.save = function(cb) { - var target; + return this._save(cb, false); + }; + + Workbook.prototype._save = function(cb, sync) { + var fs, target, write; + fs = require('fs'); + write = sync ? fs.writeFileSync : fs.writeFile; target = this.fpath + path.sep + this.fname; return this.generate(function(err, zip) { var buffer; buffer = zip.generate({ type: 'nodebuffer' }); - return require('fs').writeFile(target, buffer, cb); + if (sync) { + return write(target, buffer); + } else { + return write(target, buffer, cb); + } }); }; diff --git a/lib/msexcel-builder.js.map b/lib/msexcel-builder.js.map index eeab403..967c7a7 100644 --- a/lib/msexcel-builder.js.map +++ b/lib/msexcel-builder.js.map @@ -6,5 +6,5 @@ "msexcel-builder.coffee" ], "names": [], - "mappings": ";;AAAA;;;;;;AAAA;AAAA,MAAA,yHAAA;IAAA;;EAKA,KAAA,GAAQ,OAAA,CAAQ,OAAR;;EACR,GAAA,GAAM,OAAA,CAAQ,YAAR;;EACN,IAAA,GAAO,OAAA,CAAQ,MAAR;;EAEP,IAAA,GACE;IAAA,GAAA,EAAM,SAAC,CAAD;AACJ,aAAO,+BAA+B,CAAC,MAAhC,CAAuC,CAAA,GAAE,CAAzC;IADH,CAAN;;;EAGF,GAAA,GACE;IAAA,SAAA,EAAY,SAAZ;;;EAEI;IACS,sBAAC,I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AAT,EAA2B,IAAC,CAAA,EAAE,CAAC,KAAJ,CAAA,CAA3B;MAEA,GAAG,CAAC,IAAJ,CAAS,sBAAT,EAAgC,IAAC,CAAA,EAAE,CAAC,KAAJ,CAAA,CAAhC;MAEA,GAAG,CAAC,IAAJ,CAAS,4BAAT,EAAsC,IAAC,CAAA,EAAE,CAAC,KAAJ,CAAA,CAAtC;AAEA,WAAS,2FAAT;QACE,GAAG,CAAC,IAAJ,CAAS,qBAAA,GAAsB,CAAC,CAAA,GAAE,CAAH,CAAtB,GAA4B,MAArC,EAA4C,IAAC,CAAA,MAAO,CAAA,CAAA,CAAE,CAAC,KAAX,CAAA,CAA5C;AADF;MAGA,GAAG,CAAC,IAAJ,CAAS,eAAT,EAAyB,IAAC,CAAA,EAAE,CAAC,KAAJ,CAAA,CAAzB;aACA,EAAA,CAAG,IAAH,EAAS,GAAT;IAtBQ;;uBAwBV,MAAA,GAAQ,SAAA;aAEN,OAAO,CAAC,KAAR,CAAc,iCAAd;IAFM;;;;;;EAIV,MAAM,CAAC,OAAP,GACE;IAAA,cAAA,EAAgB,SAAC,KAAD,EAAQ,KAAR;AACd,aAAW,IAAA,QAAA,CAAS,KAAT,EAAgB,KAAhB;IADG,CAAhB;;;EAIF,MAAA,GACE;IAAA,aAAA,EAAe,4kBAAf;IACA,mBAAA,EAAoB,8lBADpB;IAEA,qBAAA,EAAsB,4wNAFtB;IAGA,eAAA,EAAgB,uhCAHhB;;AAtYF" +} \ No newline at end of file diff --git a/src/msexcel-builder.coffee b/src/msexcel-builder.coffee index 68daf06..cd30a1c 100644 --- a/src/msexcel-builder.coffee +++ b/src/msexcel-builder.coffee @@ -340,14 +340,19 @@ class Workbook sheet = new Sheet(@,name,cols,rows) @sheets.push sheet return sheet - + saveSync: () => + @_save(null, true) save: (cb) => + @_save(cb, false) + _save: (cb, sync) => + fs = require 'fs' + write = if sync then fs.writeFileSync else fs.writeFile target = @fpath + path.sep + @fname @generate (err, zip) -> buffer = zip.generate(type: 'nodebuffer') # dependence on file system isolated to this function - require('fs').writeFile target, buffer, cb - + if sync then write target, buffer else write target, buffer, cb + # takes a callback function(err, zip) and returns a JSZip object on success generate: (cb) => From 1612198039f942ae525e07a914225f2dcdb0c206 Mon Sep 17 00:00:00 2001 From: Brian Pow Date: Sat, 13 Aug 2016 07:11:37 +0800 Subject: [PATCH 4/4] add Workbook.saveSync() --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6bbb935..84c531e 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ Example: Create a new sheet named 'sheet1' with 5 columns and 8 rows var sheet1 = workbook.createSheet('sheet1', 5, 8); ``` +### Workbook.saveSync() ### Workbook.save(callback) Save current workbook.