Search npm for packages to use with Deno
Millions of packages that you already know npm are just a few keystrokes away.
Add them to your projects with a simple command that will already feel familar.
Add them to your projects with a simple command that will already feel familar.
isbinaryfile
Detects if a file is binary in Node.js. Similar to Perl's -B.
istextorbinary
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
istextorbinary-albinodrought
Determines if a buffer is comprised of text or binary
istextorbinary-ilkkah
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
which-fileextension
detect file extensions, check if text or binary file, or get list of text or binary file extensions