New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

chdman

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chdman

đź’ż chdman binaries and wrapper for Node.js.

latest
Source
npmnpm
Version
0.287.0
Version published
Weekly downloads
1.4K
-15.02%
Maintainers
1
Weekly downloads
 
Created
Source

💿️ chdman

Pre-compiled binaries and Node.js wrapper for MAME's chdman tool.

npm: version npm: downloads GitHub: stars license

Supported platforms

OSArchitecturesAdditional Instructions
Windows
  • x64
  • arm64
macOS
  • arm64 (Apple Silicon)
  • x64 (Intel)
Linux
  • x64
  • x86
  • arm (armhf)
  • arm64 (aarch64)
SDL2 is required to be installed separately:
  • Debian: apt-get install libsdl2-2.0-0
  • Gentoo: emerge libsdl2
  • Red Hat: dnf install SDL2

Running

You can easily run the chdman binary for your OS from the command line like this:

npx chdman [command] [options..]

Examples:

npx chdman help
npx chdman info --input Image.chd
npx chdman createcd --input Disc.cue --output Disc.chd

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({ inputFilename: '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({ inputFilename: '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({ inputFilename: 'DVD.chd' }));
// { inputFile: 'DVD.chd', fileVersion: 5, ... }
await chdman.extractDvd({
  inputFilename: 'DVD.chd',
  outputFilename: 'Extracted.iso',
});

License

MAME and its tools are licensed under the GPLv2 license.

Keywords

chd

FAQs

Package last updated on 31 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts