omni-vfs-local

0.0.1 • Public • Published

omni-vfs-local

Local file system implementation for omni-vfs.

Install

$ npm install omni-vfs-local

Usage

import OmniLocal from 'omni-vfs-local';
 
const root = '/path/to/root';
const vfs = new OmniLocal(root);
 
vfs.readdir('some/directory').then((files) => {
  console.log(files);
});

API

Check out the Base API for more methods.

new OmniLocal(root: string)

root is the path in which the VFS will be rooted, all method calls are relative to this.

Readme

Keywords

none

Package Sidebar

Install

npm i omni-vfs-local

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • mesoptier