1.0.6 • Published 3 years ago

vsdxjs v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago