Filesystem Utilities for NoFlo
This package provides components for working with the filesystem in NoFlo programs: reading and writing files, listing and copying directories, path manipulation, and MIME-type routing.
Install the package:
npm install @noflo/filesystem
The components are then available under the filesystem/ namespace,
for example filesystem/ReadFile or filesystem/WriteFile.
Components include:
ReadFile,WriteFile,ReadFileRaw,WriteFileRaw— file contentReadDir,MakeDir,CopyFile,CopyTree,Unlink,Stat— directory and file operationsBaseName,DirName,ExtName,JoinPath,Normalize,Resolve— path manipulationPathToMime,MimeRouter,MimeDocumentRouter— MIME routingDirectoryBuffer,DirectoryGroupBuffer— collect paths until a directory is released