lasso-fs-writer
v1.1.0
Published
Custom file system writer for lasso.
Downloads
1
Readme
lasso-fs-writer
A plugin for lasso
that will allow you to use a custom FS when writing files.
This is useful for things like saving the output to memory.
WARNING:
lasso-fs-writer
should only be used to do Lasso with prebuilds.
Usage
const fs = require('memory-fs');
require('lasso').configure({
plugins: [
{
plugin: 'lasso-fs-writer',
config: {
fileSystem: new MemoryFS()
}
}
],
...
});
Configuration Properties
fileSystem
{Object} - The new file system to use.