0.3.3 • Published 8 months ago

@zenfs/iso v0.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

ZenFS iso Backend

ZenFS backend for iso files.

!IMPORTANT Please read the ZenFS core documentation!

Backend

This package adds the Iso backend, which allows you to create a readonly file system from a .iso file.

For more information, see the API documentation.

Installing

npm install @zenfs/iso

Usage

!NOTE The examples are written in ESM.
For CJS, you can require the package.
If using a browser environment, you can use a <script> with type=module (you may need to use import maps)

import { configure, fs } from '@zenfs/core';
import { Iso } from '@zenfs/iso';

const res = await fetch('http://example.com/image.iso');

await configure({
	mounts: {
		'/mnt/iso': { backend: Iso, data: new Uint8Array(await res.arrayBuffer()) },
	},
});

const contents = fs.readFileSync('/mnt/iso/in-image.txt', 'utf-8');
console.log(contents);

Note

This implementation uses information on the ISO 9660 / ECMA 119 format/standard from:

0.3.2

9 months ago

0.3.3

8 months ago

0.3.1

9 months ago

0.3.0

9 months ago

0.2.1

10 months ago

0.2.3

10 months ago

0.2.2

10 months ago

0.2.0

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago