@velcro/resolver-host-memory
TypeScript icon, indicating that this package has built-in type declarations

0.27.0 • Public • Published

@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',
  },
});

Package Sidebar

Install

npm i @velcro/resolver-host-memory

Weekly Downloads

0

Version

0.27.0

License

MIT

Unpacked Size

95.8 kB

Total Files

20

Last publish

Collaborators

  • filearts