1.1.5 • Published 2 years ago

basic-fs-express-frontend v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

BasicFsExpress-Frontend

Frontend SDK for BasicFsExpress

This is only designed to work with this backend.

Usage

import * as Fs from 'basic-fs-express-frontend';

const contents = await Fs.readdir('/path/to/directory');
const text = await Fs.readFile('/path/to/file');

await Fs.mkdir('/path/to/new/directory');
await Fs.writeFile('/path/to/new/file', 'Hello, world!');

await Fs.rm('/path/to/file/or/directory');

await Fs.cp('/path/to/src', '/path/to/dest');
await Fs.mv('/path/to/src', '/path/to/dest');
1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago