Skip to content

Commit

Permalink
add info in readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadUzair committed Jul 29, 2020
1 parent f5f6282 commit c45d18b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ or
`import { FetchImage } from 'random-image-unsplash';`

or
`const RandomImage = require('random-image-unsplash').FetchImage;`
`const FetchImage = RandomImage.FetchImage;`
`const { FetchImage } = require('random-image-unsplash')`



Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "random-image-unsplash",
"version": "1.0.5",
"version": "1.0.6",
"private": false,
"main": "./build/index.js",
"description": "A javascript package for random image url. Fetched images from unsplash. It can be use in any javascript framework (both frontend and backend).",
Expand Down

0 comments on commit c45d18b

Please sign in to comment.