Skip to content

An implementation of the `zip` python method, in typescript / javascript.

License

Notifications You must be signed in to change notification settings

briosheje/tszip

Repository files navigation

npm Build Status Coverage Status Commitizen friendly

TSZIP

A typescript / javascript library that emulates the python's zip method, providing a similar interface in a javascript / typescript context.

Installation

NPM

npm install tszip

Vanilla JS / Web

Download the latest release from the release section, then include the desired script located in the ´dist´ folder (either dist/lib, either one of the js files in dist, according to what is the targeted environment).

Usage

Examples are directly available in the docs, which will be updated if any change is occurring.

To use the library in an ES6 environment, just import it:

import { tszip } from 'tszip';

Or, if you must use require:

const zip = require('tszip').zip;

There also is an example folder in this repository available providing some example usages. The webpack example is a raw clone of this repository: https://github.com/wbkd/webpack-starter.git, where I'm simply importing the library.

About

An implementation of the `zip` python method, in typescript / javascript.

Resources

License

Stars

Watchers

Forks

Packages

No packages published