npm

20 packages found

M
Q
P

Description

Detect the file type of a Buffer/Uint8Array/ArrayBuffer

Keywords

Publisher

published 12.3.1a day ago
M
Q
P

Description

Check if a file path is a binary file

Keywords

Publisher

published 2.1.06 months ago
M
Q
P

Description

Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.

Keywords

Publisher

published 2.5.19 months ago
M
Q
P

Description

Detect the file type of a file or stdin

Keywords

Publisher

published 4.0.04 months ago
M
Q
P

Description

Detect the file type of a Buffer/Uint8Array

Keywords

Publisher

published 10.6.510 months ago
M
Q
P

Description

Lint file types based on content

Keywords

Publisher

published 3.0.04 months ago
M
Q
P

Description

Returns true if a buffer is binary. Takes a buffer and does not read from the file system.

Keywords

Publisher

published 2.0.02 years ago
M
Q
P

Description

Check if a Buffer/Uint8Array is a MIDI file

Keywords

Publisher

published 1.0.0a year ago
M
Q
P

Description

Returns true if a file is binary. Checks the actual contents, since extensions are not reliable. Basic wrapper for isbinaryfile to support vinyl files.

Keywords

Publisher

published 1.0.02 years ago
M
Q
P

Description

Check if a Buffer/Uint8Array is a MP3 file.

Keywords

Publisher

published 1.1.32 years ago
M
Q
P

Description

Check if a Buffer/Uint8Array is a m4a file.

Keywords

Publisher

published 1.0.24 years ago
M
Q
P

Description

Check if a Buffer/Uint8Array is a wav file.

Keywords

Publisher

published 1.1.24 years ago
M
Q
P

Description

Check if a Buffer/Uint8Array is a FLAC file.

Keywords

Publisher

published 1.1.24 years ago
M
Q
P

Description

Check if a Buffer/Uint8Array is an OGG file.

Keywords

Publisher

published 1.1.24 years ago
M
Q
P

Description

Check if a Buffer/Uint8Array is a RPM file

Keywords

Publisher

published 2.0.0a year ago
M
Q
P

Description

Detect the file type of a Buffer/Uint8Array

Keywords

Publisher

published 6.2.12 years ago
M
Q
P

Description

Check if a Buffer/Uint8Array is an OPUS audio file

Keywords

Publisher

published 1.0.03 years ago
M
Q
P

Description

Detect the file type of a Buffer/Uint8Array

Keywords

Publisher

published 5.2.12 years ago
M
Q
P

Description

Detect the file type of a Buffer/Uint8Array in ES5 (can be used for browser and create-react-app

Keywords

Publisher

published 7.4.02 years ago
M
Q
P

Description

Adds an `.isBinary()` function to the `file` object, similar to `file.isNull()` and `file.isStream()`.

Keywords

Publisher

published 0.1.23 years ago