json2xls-xml

0.0.14 • Public • Published

json2xls-xml

Convert Javascript objects to XLS (XML format), based on json2officexml.

Installation

[~] ➔ npm install json2xls-xml

Usage

var j2xls = require('json2xls-xml')({ pretty : true });
 
var doc = {
    Foo : [
        { firstname : 'John', lastname: 'Doo'}
        , { firstname : 'Foo', lastname: 'Bar', age: 23, weight: 25.7876, birth : new Date()}
    ]
    , Bar : [
        { firstname : 'Rene', lastname: 'Malin'}
        , { firstname : 'Foo', lastname: 'foobar', age: 73, weight: 22225.33, birth : new Date()}
    ]
};
 
console.log(j2xls(doc));

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i json2xls-xml

    Weekly Downloads

    13

    Version

    0.0.14

    License

    none

    Unpacked Size

    82.4 kB

    Total Files

    6

    Last publish

    Collaborators

    • wankdanker