Emscripten
Emscripten backend for ZenFS
Install / Use
/learn @zen-fs/EmscriptenREADME
ZenFS Emscripten Backend
ZenFS backend for usage with Emscripten.
For more information, see the docs.
Please read the ZenFS core documentation!
Installing
[!IMPORTANT] This project is licensed under the LGPL (v3+).
npm install @zenfs/emscripten
Usage
import { configure, fs } from '@zenfs/core';
import { Emscripten } from '@zenfs/emscripten';
// Note: this assumes you have included Emscripten correctly and have the global `FS` variable available.
await configureSingle({ backend: Emscripten, FS: FS });
if (!fs.existsSync('/test.txt')) {
fs.writeFileSync('/test.txt', 'This is in the Emscripten file system!');
}
const contents = fs.readFileSync('/test.txt', 'utf-8');
console.log(contents);
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
