11.0.2 • Published 9 months ago

@chunkd/source-memory v11.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@chunkd/source-memory

this is designed for unit tests to prevent file system access, and not recommended for large file workloads.

Usage

import { SourceMemory } from '@chunkd/source-memory';

const source = new SourceMemory(new URL('memory://foo/bar.json', JSON.stringify({ hello: 'world' })));

JSON.parse(await source.fetch()); // { hello: "world" }

Advanced Usage

For caching, block alignment and fetch grouping see @chunkd/middleware and @chunkd/fs

11.0.2

9 months ago

11.0.0

10 months ago

11.0.1

10 months ago

10.1.0

1 year ago

10.0.3

1 year ago

10.0.2

1 year ago

10.0.0

2 years ago

8.4.0

2 years ago

8.3.0

2 years ago