react-native-brotli-compression

Module to decompress files on the filesystem using Brotli

Usage no npm install needed!

<script type="module">
  import reactNativeBrotliCompression from 'https://cdn.skypack.dev/react-native-brotli-compression';
</script>

README

react-native-brotli-compression

Getting started

You will most likely combine this module with react-native-fs or something similar.

$ npm install react-native-react-native-brotli-compression --save $ yarn add react-native-react-native-brotli-compression

Mostly automatic installation

$ react-native link react-native-react-native-brotli-compression

Compatibility

This module can currently only be used with Android.

Usage

import BrotliModule from 'react-native-react-native-brotli-compression';

await BrotliModule.decompressFile('file.br',  'output.br');