Socket
Socket
Sign inDemoInstall

@es-git/zlib-mixin

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-git/zlib-mixin

This is part of the [ES-Git](https://github.com/es-git/es-git) project.


Version published
Weekly downloads
1
decreased by-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

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');

FAQs

Package last updated on 02 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc