0

I am looking to include this plugin in my react project. It seems to be installed the old-skool way, i.e. using script tags. Does anyone know how to to this? My project hierarchy is as follows:

.
├── app
│   ├── app.js
│   ├── components
│   ├── containers
│   ├── favicon.ico
│   ├── global-styles.css
│   ├── global-styles.js
│   ├── i18n.js
│   ├── index.html
│   ├── manifest.json
│   ├── reducers.js
│   ├── routes.js
│   ├── store.js
│   ├── tests
│   ├── translations
│   └── utils
├── appveyor.yml
├── Changelog.md
├── cloudformation-templates
│   ├── app-stack.json
│   └── static-site-and-photobucket.json
├── docs
│   ├── css
│   ├── general
│   ├── js
│   ├── README.md
│   └── testing
├── internals
│   ├── config.js
│   ├── generators
│   ├── mocks
│   ├── scripts
│   ├── testing
│   └── webpack
├── LICENSE.md
├── MAINTAINERS
├── node_modules
│   ├── abab
...
│   └── yauzl
├── package.json
├── README.md
├── server
│   ├── index.js
│   ├── logger.js
│   └── middlewares
└── yarn.lock

I am using react boilerplate for my app scaffolding. Thanks!

1 Answer 1

1

The instructions in the README are bad. You can require it just fine.

npm install --save exif-js

Then

var exif = require('exif-js');
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.