node-istextorbinary
Determine if a filename and/or buffer is text or binary
Description
This library provides smarter detection than the other solutions. Determination works like so: 1. Extension Check: If filename is available, check if any of its extensions
(from right to left) are an text extension or a binary extension, this is
near instant.
2. Contents Check: If no filename was provided, or the extension check was
indeterminate, then check the contents of the buffer.
Node.js is an event-based server-side JavaScript engine.Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://github.com/bevry/istextorbinary
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install node-istextorbinary