2.5.7 • Published 5 months ago

xo-vmdk-to-vhd v2.5.7

Weekly downloads
10
License
AGPL-3.0-or-later
Repository
github
Last release
5 months ago

xo-vmdk-to-vhd

Package Version License PackagePhobia Node compatibility

JS lib reading and writing .vmdk and .ova files

Install

Installation of the npm package:

npm install --save xo-vmdk-to-vhd

Usage

To convert a VMDK stream to a Fixed VHD stream without buffering the entire input or output:

import { vmdkToVhd } from 'xo-vmdk-to-vhd'
import { createReadStream, createWriteStream } from 'fs'
;(async () => {
  const stream = await vmdkToVhd(fs.createReadStream(vmdkFileName))

  stream.pipe(fs.createWriteStream(vhdFileName))
})()

or:

var vmdkToVhd = require('xo-vmdk-to-vhd').vmdkToVhd
var createReadStream = require('fs').createReadStream
var createWriteStream = require('fs').createWriteStream

vmdkToVhd(fs.createReadStream(vmdkFileName)).then(function (stream) {
  stream.pipe(fs.createWriteStream(vhdFileName))
})

Contributions

Contributions are very welcomed, either on the documentation or on the code.

You may:

  • report any issue you've encountered;
  • fork and create a pull request.

License

AGPL-3.0-or-later © Vates SAS

2.5.7

5 months ago

2.5.6

7 months ago

2.5.2

1 year ago

2.5.1

1 year ago

2.5.4

12 months ago

2.5.3

1 year ago

2.5.5

12 months ago

2.5.0

1 year ago

2.4.3

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.4.2

2 years ago

2.3.0

2 years ago

2.2.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

3 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.0.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.1.8

4 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago