Creates SpreadsheetML (.xlsx) files in sequence with streaming interface.
CoffeeScript JavaScript
Switch branches/tags
Latest commit 78267a6 Mar 17, 2014 nuNuKim nuNuKim Merge pull request #3 from nerds-odd-e/Number_formats
Thank you for the excellent patch!
Permalink
Failed to load latest commit information.
lib Support for Number Formats Feb 6, 2014
src Support for Number Formats Feb 6, 2014
test Support for Number Formats Feb 6, 2014
.DS_Store README Dec 11, 2013
.gitignore added Nov 27, 2013
Gruntfile.coffee added Nov 27, 2013
LICENSE Initial commit Nov 26, 2013
README.md Support for Number Formats Feb 6, 2014
a.js Date format Dec 11, 2013
package.json release 0.1.2 Dec 11, 2013

README.md

node-xlsx-stream

Creates SpreadsheetML (.xlsx) files in sequence with streaming interface.

  • Installation

      npm install xlsx-stream
    
  • Features

      Multiple sheets, String, Number, Date, Duration, Cell Formats
    
  • Usage

      # coffee-script
      xlsx = require "xlsx-stream"
      fs = require "fs"
      
      x = xlsx()
      x.pipe fs.createWriteStream("./out.xlsx")
      
      x.write ["foo", "bar", "buz"]
      x.write [1,2,3]
      x.write ["Date", new Date]
      x.write ["Duration", { v: 1.5, t: 'n', nf: '[h]:mm:ss' }]
      x.write ["Formula", {v: "ok", f: "CONCATENATE(A1,B2)"}]
      x.write ["Percentage Built-in format #9", { v: 0.5, nf: '0.00%' }]
      x.write ["Percentage Custom format", { v: 0.5, nf: '00.000%' }]
    
      x.end()
    
  • Multiple sheets support

      # coffee-script
      
      x = xlsx()
      x.pipe fs.createWriteStream("./out.xlsx")
    
      sheet1 = x.sheet('first sheet')
      sheet1.write ["first", "sheet"]
      sheet1.end()
    
      sheet2 = x.sheet('another')
      sheet2.write ["second", "sheet"]
      sheet2.end()
    
      x.finalize()
    
  • Help Wanted

      Comments