pradel / node-instagram

Instagram api client for node that support promises.
MIT License
190 stars 27 forks source link

Update README with require syntax #13

Closed danthareja closed 7 years ago

danthareja commented 7 years ago

Great module! I'm a big fan of the promise support.

This is a small change to include the require syntax for importing this module:

const Instagram = require('node-instagram').default

The inclusion of default was new to me and I wanted to help anyone else not using a module bundler save a few minutes of googling.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 6eaf2dc506864786e78717a05b037ff955cabb25 on danthareja:patch-1 into 91b0513627a8199b28a329e20832e3eaa2d0ea37 on pradel:master.

pradel commented 7 years ago

Thank you for the change 👍