react-native-rar-archive
v1.3.0
Published
unrar for react native
Downloads
6
Readme
react-native-rar-archive
unrar for react native
Installation
npm install react-native-rar-archiveUsage
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
