2.2.8 • Published 6 months ago

@xmcl/system v2.2.8

Weekly downloads
7
License
MIT
Repository
github
Last release
6 months ago

Common Module

npm version Downloads Install size npm Build Status

A unified API to read directory or zip.

Support both nodejs and browser.

You can do read operations for zip or directory in same API:

import { openFileSystem } from "@xmcl/system";

let filePath = "/path/to/dir/"
const fs = await openFileSystem(filePath);
fs.readFile("a.txt"); // read /path/to/dir/a.txt

let zipPath = "/path/to/file.zip"
const fs = await openFileSystem(zipPath);
fs.readFile("a.txt"); // read a.txt in the file.zip!
2.2.8

6 months ago

2.2.7

2 years ago

2.2.5

2 years ago

2.2.4

2 years ago

2.2.6

2 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.6-alpha.1

5 years ago

1.0.6-alpha.0

5 years ago

1.0.5

5 years ago