# @mich-cook/d64-utils

> .d64 disk image handling

Latest version **1.1.0** (published 2020-07-19) · AGPL-3.0-only license · 0 weekly downloads

## Install

```sh
npm install @mich-cook/d64-utils
pnpm add @mich-cook/d64-utils
yarn add @mich-cook/d64-utils
bun add @mich-cook/d64-utils
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-07-19 |
| First published | 2020-07-18 |
| Weekly downloads | 0 |
| License | AGPL-3.0-only |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12.0 |
| Dependencies | 0 |
| Unpacked size | 45.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | mich-cook |
| Maintainers | mich-cook |
| Keywords | c64, 1541, c1541, commodore |

## Links

- npm: https://www.npmjs.com/package/@mich-cook/d64-utils
- Repository: https://github.com/mich-cook/d64-utils
- Homepage: https://github.com/mich-cook/d64-utils#readme
- Issues: https://github.com/mich-cook/d64-utils/issues
- npm.io page: https://npm.io/package/@mich-cook/d64-utils

## Recent versions

- 1.1.0 (latest) — 2020-07-19
- 1.0.0 — 2020-07-18

## README

# d64-utils
Utilities to work with d64 files (commodore 64 disk images) in node.js

## API

attach(filename)

* loads file contents into instance from filename.
* does not (will not?) support taking a buffer or a network location

validate()

* does some very basic validation of the disk

list()

* displays directory listing of the disk

## Example Usage:

```javascript
const c1541 = require('./c1541.js');

const disk = new c1541();
disk.attach('./myDisk.d64');

console.log(`Disk is valid: ${disk.validate()}`);
console.log(`BAM info:`);
console.log(disk.getBAMInfo());

const listing = disk.list();
if (listing !== null) { listing.forEach(l => console.log(l)); }
```

---
_Source: https://npm.io/package/@mich-cook/d64-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
