1.0.7 • Published 6 years ago

react-native-unzipliu v1.0.7

Weekly downloads
10
License
MIT
Repository
github
Last release
6 years ago

React Native UnzipLiu npm npm

Unzip for React Native App

This is for GZip file

Version 1.0.3 Add Zip and Unzip function

Version 1.0.7 remove keyboard in Version 1.0.6

Installation

npm install react-native-unzipliu --save
react-native link react-native-unzipliu

Usage

import it into your code

import { unGzip } from 'react-native-unzipliu';

API

unGzip(source: string, target: string): Promise

unzip from source file to target file

Example

const sourcePath = `${DocumentDirectoryPath}/myFile.zip`;
const targetPath = `${DocumentDirectoryPath}/myFile.txt`;

unGzip(sourcePath, targetPath)
.then((path) => {
  console.log(`unzip completed at ${path}`);
})
.catch((error) => {
  console.log(error);
});
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago