Skip to content

@nhtio/vue-editors/fs

Shared Reactive Filesystem and Utilities for use in Vue Editor Components.

Classes

ClassDescription
NVEFileSystemNVEFileSystem provides a reactive, in-memory file system for use with NHT Vue Editors.

Interfaces

InterfaceDescription
DirentA representation of a directory entry, which can be a file or a subdirectory within the directory, as returned by reading from an fs.Dir. The directory entry is a combination of the file name and file type pairs.
NVECommitDirentA function signature for commit/save hooks on a NVEDirent.
NVEDirentA reactive, browser-friendly implementation of Node.js Dirent for use with NVEFileSystem.
NVEDirentOptionsOptions for creating a NVEDirent instance.
NVEFileTreeRepresents a reactive file tree structure for the NVEFileSystem.
NVEFileTreeNodeRepresents a node in the NVEFileTree hierarchy.
NVEVirtualDirentRepresents a virtual dirent entry.
UriUniform Resource Identifier (Uri) http://tools.ietf.org/html/rfc3986. This class is a simple parser which creates the basic component parts (http://tools.ietf.org/html/rfc3986#section-3) with minimal validation and encoding.

Type Aliases

Type AliasDescription
NVEDirentEvents-
NVEDirentLanguageSupported Monaco language identifiers for file type inference.
NVEFileSystemEventsEvents emitted by NVEFileSystem for file system changes.