Skip to content

Commit

Permalink
chore: Updated linter config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed Jan 3, 2021
1 parent cd61ebc commit 58af9fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ The `options` object supports the following options:

If `callback` is not provided, the method returns a `Promise`.

## Example

```js
const { info } = require('fastimage')

Expand Down Expand Up @@ -64,7 +66,7 @@ The callback argument (or the resolved value) will be an object with the followi
}
```

### Stream
## Streams

Calling `fastimage.stream` it will return a Writable stream which will emit the `info` event once informations are ready.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.0.0",
"description": "A module that finds the size and type of an image by fetching and reading as little data as needed.",
"homepage": "https://sw.cowtech.it/fastimage",
"repository": "github:/ShogunPanda/fastimage",
"repository": "github:ShogunPanda/fastimage",
"keywords": [
"fast",
"fastimage",
Expand Down Expand Up @@ -53,7 +53,7 @@
"image-size": "^0.9.3"
},
"devDependencies": {
"@cowtech/eslint-config": "^7.12.2",
"@cowtech/eslint-config": "^7.14.0",
"@types/node": "^14.14.19",
"@types/tap": "^14.10.1",
"prettier": "^2.2.1",
Expand Down

0 comments on commit 58af9fa

Please sign in to comment.