一种基于FUSE的内存文件系统

一种基于FUSE的内存文件系统

JavaScript 其它杂项

访问GitHub主页

共23Star

详细介绍

fuse-memfs

In memory filesystem backed by FUSE and Javascript

npm install -g fuse-memfs

Usage

fuse-memfs ./mnt # mounts an in memory filesystem at ./mnt (needs to exists)

Javascript API

You can access the FUSE operations from JS as well

const Fuse = require('fuse-native')
const memfs = require('fuse-memfs')
const ops = memfs()

const fuse = new Fuse('./mnt', ops)

License

MIT

推荐源码