1.1.2 • Published 2 years ago

@basicserver/fs-frontend v1.1.2

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

Fs-Frontend

This is only designed to work with this backend.

Usage

import * as Fs from '@basicserver/fs-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.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago