xlsx-stream

0.1.2 • Public • Published

node-xlsx-stream

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

  • Installation

      npm install xlsx-stream
    
  • 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.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()
    

Readme

Keywords

none

Package Sidebar

Install

npm i xlsx-stream

Weekly Downloads

238

Version

0.1.2

License

none

Last publish

Collaborators

  • nunukim