
Security News
pnpm 12’s Rust Rewrite Cuts Install Times by Up to 90%
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.
@uipath/filesystem
Advanced tools
Affected versions:
Cross-platform filesystem abstraction for the UiPath CLI. Provides a unified interface for file operations in both Node.js and browser environments. The browser implementation uses LightningFS with IndexedDB-backed persistence.
Cross-platform filesystem abstraction for the UiPath CLI. Provides a unified interface for file operations in both Node.js and browser environments. The browser implementation uses LightningFS with IndexedDB-backed persistence.
npm install @uipath/filesystem
import { getFileSystem } from "@uipath/filesystem";
const fs = getFileSystem();
// Read a file
const content = await fs.readFile("config.json", "utf-8");
// Write a file (creates directories as needed)
await fs.writeFile("output/result.json", JSON.stringify(data));
// Path operations
const full = fs.path.join(fs.env.homedir(), ".uipath", "config.json");
// Check existence
if (await fs.exists(full)) {
const stats = await fs.stat(full);
}
getFileSystem() / getFileSystemAsync()Returns a singleton IFileSystem instance.
| Method | Description |
|---|---|
readFile(path, options?) | Read file as Uint8Array or UTF-8 string |
writeFile(path, data) | Write file, creating parent directories |
readdir(path) | List directory contents |
stat(path) | Get file stats (type, size, mtime) |
exists(path) | Check if path exists |
mkdir(path) | Create directory recursively |
rm(path) | Remove file or directory recursively |
rename(old, new) | Rename or move a file |
getTempDir() | Create an isolated temp directory |
copyDirectory(src, dest) | Recursive directory copy |
| Namespace | Description |
|---|---|
fs.path | Path operations: join, resolve, relative, dirname, basename, isAbsolute |
fs.env | Environment: cwd(), homedir(), tmpdir(), getenv(key) |
See the root repository for license information.
The browser backend now uses LightningFS instead of ZenFS. Existing browser-side data stored through the old ZenFS backend is not migrated and can be discarded.
FAQs
Cross-platform filesystem abstraction for the UiPath CLI. Provides a unified interface for file operations in both Node.js and browser environments. The browser implementation uses LightningFS with IndexedDB-backed persistence.
The npm package @uipath/filesystem receives a total of 1,156 weekly downloads. As such, @uipath/filesystem popularity was classified as popular.
We found that @uipath/filesystem demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 24 open source maintainers collaborating on the project.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.

Research
/Security News
Thirteen malicious Packagist themes expose visitors on unpatched iPhones to a WebKit-to-kernel exploit chain that steals device data and wallet seeds.