Skip to content

Commit

Permalink
Fix typo in readme (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecklf authored Sep 23, 2021
1 parent a2cf2b3 commit f0a5f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ console.log(await fileTypeFromFile('Unicorn.png'));
Determine file type from a Buffer, which may be a portion of the beginning of a file:

```js
import {fileTypeFromBuffer} from 'file-type');
import {fileTypeFromBuffer} from 'file-type';
import {readChunk} from 'read-chunk';

const buffer = await readChunk('Unicorn.png', {length: 4100});
Expand Down

0 comments on commit f0a5f29

Please sign in to comment.