0.265.0 • Published 13 days ago

chdman v0.265.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
13 days ago

Supported platforms

OSArchitecturesAdditional Instructions
Windows• x64• x86
macOS• arm64 (Apple Silicon)• x64 (Intel)SDL2 is required to be installed separately:brew install sdl2
Linux• x64• x86• arm (armhf)• arm64 (aarch64)

Any chdman that exists on your $PATH will be preferred over the bundled binaries. This lets you control the build that is right for your machine.

Installation

npm install --save chdman

Usage

import chdman from 'chdman';

/**
 * Create and extract hard disks
 */
await chdman.createHd({
  inputFilename: 'original-image',
  outputFilename: 'image.chd',
});
console.log(await chdman.info('image.chd'));
// { inputFile: 'image.chd', fileVersion: 5, ... }
await chdman.extractHd({
  inputFilename: 'image.chd',
  outputFilename: 'extracted-image',
});


/**
 * Create and extract CD-ROMs
 */
await chdman.createCd({
  inputFilename: 'Original.cue',
  outputFilename: 'CD.chd',
});
console.log(await chdman.info('CD.chd'));
// { inputFile: 'CD.chd', fileVersion: 5, ... }
await chdman.extractCd({
  inputFilename: 'CD.chd',
  outputFilename: 'Extracted.cue',
  outputBinFilename: 'Extracted.bin',
});


/**
 * Create and extract DVD-ROMs
 */
await chdman.createDvd({
  inputFilename: 'Original.iso',
  outputFilename: 'DVD.chd',
});
console.log(await chdman.info('DVD.chd'));
// { inputFile: 'DVD.chd', fileVersion: 5, ... }
await chdman.extractDvd({
  inputFilename: 'DVD.chd',
  outputFilename: 'Extracted.iso',
});
0.264.0

13 days ago

0.265.0

13 days ago

0.263.0

13 days ago

0.262.4

2 months ago

0.262.5

2 months ago

0.262.3

2 months ago

0.262.2

2 months ago

0.262.1

2 months ago

0.262.0

2 months ago