Skip to content

Commit

Permalink
Add AMD paragraph in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasw committed Jan 23, 2019
1 parent 889e8a4 commit eeb6c1b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ CommonJS/Node modules:
const ExifReader = require('exifreader');
```

AMD modules:

```javascript
requirejs(['/path/to/exif-reader.js'], function (ExifReader) {
...
});
```

`script` tag:

```html
Expand Down

0 comments on commit eeb6c1b

Please sign in to comment.