1.0.6 • Published 2 years ago

vsdxjs v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

VsdxJs

Parse vsdx files with javascript

Installation

npm install vsdxjs --save-dev

Usage

    import VsdxJs from "vsdxjs";
    const file = ... // input file
    let t = new VsdxJs();
    t.init(file).then(res => {
        console.log(res);
    });
    import VsdxJs from "vsdxjs";
    const file = ... // input file
    let t = new VsdxJs({
        handleMedia: function({ data, ext }) {
            return new Promise((resolve, reject) => {
                axios.post(url, { data, ext }).then(res => {
                    resolve(res.data.url);
                })
            });
        }
    });
    t.init(file).then(res => {
        console.log(res);
    });

Keywords

vsdx visio javascript

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago