0.10.0 • Published 3 years ago

@es-git/zlib-mixin v0.10.0

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

zlib-mixin

This is part of the ES-Git project.

Install

npm install --save @es-git/zlib-mixin

Usage

Mix this in with an IObjectRepo.

This mixin compresses the raw objects when saving and decompresses the raw objects when loading them, using zlib. This is required when using node-fs-repo to interact with a native git repository in the file-system.

import FsRepo from '@es-git/node-fs-repo';
import zlib from '@es-git/zlib-mixin';

const Repo = mix(Fs)
            .with(zlib);

const repo = new Repo(__dirname + '/.git');
0.10.0

3 years ago

0.9.0

6 years ago

0.8.3

6 years ago

0.8.2

6 years ago

0.5.0

6 years ago

0.4.2

6 years ago

0.4.0

6 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago