exifreader 4.3.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,6 +94,8 @@ Usage
|
|
|
94
94
|
|
|
95
95
|
### Importing
|
|
96
96
|
|
|
97
|
+
*NOTE: See React Native instructions below.*
|
|
98
|
+
|
|
97
99
|
ES module syntax:
|
|
98
100
|
|
|
99
101
|
```javascript
|
|
@@ -165,6 +167,14 @@ directions on how to use the library.
|
|
|
165
167
|
|
|
166
168
|
#### Using React Native
|
|
167
169
|
|
|
170
|
+
Import ExifReader like this:
|
|
171
|
+
|
|
172
|
+
```javascript
|
|
173
|
+
import ExifReader from './node_modules/exifreader/src/exif-reader.js';
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Make sure to update the path to point to where your `node_modules` is located.
|
|
177
|
+
|
|
168
178
|
For local files on the device you need to load the file yourself first, then
|
|
169
179
|
pass in the buffer to ExifReader. Here is a template from user @hungdev:
|
|
170
180
|
|