npm install --save istextorbinaryrequire('istextorbinary')npm install --save istextorbinaryrequire('istextorbinary')//wzrd.in/bundle/istextorbinary@2.2.1ender add istextorbinaryrequire('istextorbinary')This package is published with the following editions:
istextorbinary aliases istextorbinary/index.js which uses Editions to automatically select the correct edition for the consumers environmentistextorbinary/source/index.js is Source + ESNext + Requireistextorbinary/es2015/index.js is Babel Compiled + ES2015 + RequireOlder environments may need Babel's Polyfill or something similar.
## Usage ``` javascript // Synchronous API var result = require('istextorbinary').isTextSync(filename, buffer) // Asynchronous API require('istextorbinary').isText(filename, buffer, function(err, result){ // ... }) // You can supply text or buffer, or both text and buffer, the more provided, the more accurate the result ``` [API Documentation.](http://master.istextorbinary.bevry.surge.sh/docs/)HISTORY.md file.
CONTRIBUTING.md file.
CONTRIBUTING.md file.