react-native-rar-archive
v1.1.1
Published
unrar for react native
Downloads
3
Readme
react-native-rar-archive
unrar for react native
Installation
npm install react-native-rar-archive
Usage
import { unrar } from 'react-native-rar-archive';
import { DocumentDirectoryPath } from 'react-native-fs';
// ...
const sourcePath = `${DocumentDirectoryPath}/archive.rar`;
const targetPath = `${DocumentDirectoryPath}/unrar`;
const result = await unrar(sourcePath, targetPath);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
Native libraries used
- UnrarKit (ios) https://github.com/abbeycode/UnrarKit
- junrar (android) https://github.com/junrar/junrar
License
MIT
Made with create-react-native-library