react-native-image-to-base64
v0.1.0
Published
React Native module to get Image's base64 string
Downloads
16
Readme
react-native-image-to-base64
Installation
- Run
npm install react-native-image-to-base64 --save
- Run
react-native link react-native-image-to-base64
(RN 0.29.1+, otherwisernpm link react-native-image-to-base64
)
Usage
NativeModules.RNImageToBase64.getBase64String(uri, (err, base64) => {
// Do something with the base64 string
})