@varasto/mock-storagedeprecated

Mock implementation of Varasto storage

Usage no npm install needed!

<script type="module">
  import varastoMockStorage from 'https://cdn.skypack.dev/@varasto/mock-storage';
</script>

README

@varasto/mock-storage

Mock storage implementation that stores values in memory instead of hard disk and is useful when writing test cases.

Installation

$ npm install --save-dev @varasto/mock-storage

Usage

import { createMockStorage } from '@varasto/mock-storage';

const storage = createMockStorage();