Skip to content

Commit

Permalink
Correct exported function name to fileTypeStream()
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Jul 31, 2024
1 parent 8bf294d commit cb9b5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function fileTypeFromTokenizer(tokenizer) {
return new FileTypeParser().fromTokenizer(tokenizer);
}

export async function stream(webStream) {
export async function fileTypeStream(webStream) {
return new FileTypeParser().toDetectionStream(webStream);
}

Expand Down

0 comments on commit cb9b5a5

Please sign in to comment.