1.0.9 • Published 5 years ago

@scottsloane/nodeods v1.0.9

Weekly downloads
20
License
WTFPL
Repository
-
Last release
5 years ago

NodeODS

ODS reading, writing, and templating for XREF projects

Usage

Include ODS

const ODS = require('./index.js');

Make an ODS object

const ods = ODS();

Load a File

ods.Load('filename.ods');

Parse a Loaded File

let row = true;

while (row !== false){
  row = ods.getNextRow();
  if(row != false) doSomething(row);
}

{OR} Initilize a new File

output.init({
  A : 'column1Header',
  B : 'column2Header',
  C : 'column3Header'
});

Adding a Row

ods.addRow({ column1Header: 'Column 1 Value',
  column2Header: 'Column 2 Value'});

Saving your File

output.Save('filename.ods');
1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago