@velcro/resolver-host-memory
v0.27.0
Published
Resolve files from an in-memory mock filesystem
Downloads
8
Maintainers
Readme
@velcro/resolver-host-fs
A class that implements the ResolverHost
interface over an in-memory mock filesystem.
Usage
const host = new Velcro.ResolverHostMemory({
'path/to/string/file': 'file contents',
'path/to/binary/file': {
content: 'SGVsbG8gd29ybGQK',
encoding: 'base64',
},
});